Function weatherkit::get_weatherkit_weather
source · [−]pub(crate) fn get_weatherkit_weather(
token: String,
latitude: String,
longitude: String,
language: String,
iso2c: String,
tzone: String,
utc_now: DateTime<Utc>
) -> WeatherKitWeather
Expand description
Retrieve weather data from Apple’s WeatherKit REST API
Arguments
token
- JWT from setup_jwt() calllatitude
- latitudelongitude
- longitudelanguage
- language codetzone
- time zone stringutc_now
- “now” in UTC