Anyone know of all the possible weather conditions Google's API will put out? I've got to match up my icons to the forecast, and I can't find a list of conditions.
This was mentioned: http://www.blindmotion.com/?p=73 though it may not be complete, as it isn't something released by Google. It probably covers about 99% of cases though, barring random enhancements and releases to the weather api by Google staff.
Here's the best list I could find: http://www.blindmotion.com/?p=73
You may want to consider alternate APIs that are formally supported and documented. Yahoo!'s [Weather RSS feed][1] is a handy, easy-to-use API. I use the [National Weather Service's API][2] for one of my projects because I need to pull the forecast for a specific time frame in the future and it lets me do that in a reasonably straightforward way.
That link was broken for me. Here's a list I found on another forum:
"Clear
Cloudy
Fog
Haze
Light Rain
Mostly Cloudy
Overcast
Partly Cloudy
Rain
Rain Showers
Showers
Thunderstorm
Chance of Showers
Chance of Snow
Chance of Storm
Mostly Sunny
Partly Sunny
Scattered Showers
Sunny"
I've also found 2 more with some testing.
- Snow Showers (snow.gif)
- Isolated Thunderstorms (chance_of_strom.gif)