Post

Replies

Boosts

Views

Activity

Reply to WeatherKit REST weather alerts
Well the documentation of the REST API says you need countryCode and not country. But it only works with country. https://developer.apple.com/documentation/weatherkitrestapi/get_api_v1_weather_language_latitude_longitude Docu is probably wrong. Country is also used for https://developer.apple.com/documentation/weatherkitrestapi/get_api_v1_availability_latitude_longitude Also it it technical very challenging that a country value for alerts must be set as this information is not always available. A visitor to USA who has his phone still set a foreign language will have a device country value from the foreign language and therefore will not get any alerts for USA. It would be good if simply the local authority is used if the parameter is not set.
Feb ’23