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() call
  • latitude - latitude
  • longitude - longitude
  • language - language code
  • tzone - time zone string
  • utc_now - “now” in UTC