xmlapiweatherweather-apimsn

MSN weather API list of conditions?


Microsoft has a weather API very similar to Google's (which now appears to be completely dead). I've converted one of my applications over to their feed, but I've been unable to find a list of all possible weather conditions.

This is documented fairly well for Google's weather API, but I can't find a list of conditions for the MSN weather API.

FWIW, an example URL to get data back using MSN is:

http://weather.service.msn.com/data.aspx?weadegreetype=F&culture=en-US&weasearchstr=Chicago,IL (service not available anymore (Jan 2016))

Can anyone shed some light on the possible conditions? I need them so that I can convert the condition text to an icon instead.


Solution

  • I decided to go a slightly different route and figure out conditions based on the icon provided (skycode and skycodeday) from the XML.

    Here is a list of what I came up with. Hopefully it will be helpful for others in migrating from Google's weather API: