Missing Parameter "AreaName" in WeatherAlertSummary object via the API

Hi there! The parameter AreaName is not present in the WeatherAlertSummary object received via the API. But here it is showing up: https://weatherkit.apple.com/alertDetails/index.html?ids=708c32b5-e760-5fb3-9c47-68394e07353a&lang=de-DE&timezone=Europe/Berlin

It worked for a couple of month now and suddenly it disappeared.

Answered by in 803302022

The field areaName on WeatherAlertSummary is documented as optional at https://developer.apple.com/documentation/weatherkitrestapi/weatheralertsummary so it might not always be available. A number of factors could lead to the summary not including an area name, but since it is included in the details page it does seem reasonable it can be in the summary as well.

We will investigate further and see why areaName may not have been included in the summary.

The field areaName on WeatherAlertSummary is documented as optional at https://developer.apple.com/documentation/weatherkitrestapi/weatheralertsummary so it might not always be available. A number of factors could lead to the summary not including an area name, but since it is included in the details page it does seem reasonable it can be in the summary as well.

We will investigate further and see why areaName may not have been included in the summary.

Missing Parameter "AreaName" in WeatherAlertSummary object via the API
 
 
Q