All Google Weather API Conditions

Follow @tristarweb

Update (6.6.11): Google have gone back to using the old icons again (!!). This post should still be useful to people, as all the old icons are listed towards the end of it. Also, it still lists all the possible named (English) conditions – which I imagine, will never change. As I mentioned in the comments, users of the Google Weather API should bear in mind that it’s never officially been released to developers, so could be gone at any time (although I doubt it).

I was doing a web design earlier that required use of the Google Weather API. I was originally using the weather icons and replacing them with my own, but it seems Google changed their icons today! They changed all the image names so I needed a new tactic.

I had a good ol’ search and eventually found a list of all the possible weather conditions. I imagine these are unlikely to change, but who knows! Here you go:

  • Partly Sunny
  • Scattered Thunderstorms
  • Showers
  • Scattered Showers
  • Rain and Snow
  • Overcast
  • Light Snow
  • Freezing Drizzle
  • Chance of Rain
  • Sunny
  • Clear
  • Mostly Sunny
  • Partly Cloudy
  • Mostly Cloudy
  • Chance of Storm
  • Rain
  • Chance of Snow
  • Cloudy
  • Mist
  • Storm
  • Thunderstorm
  • Chance of TStorm
  • Sleet
  • Snow
  • Icy
  • Dust
  • Fog
  • Smoke
  • Haze
  • Flurries
  • Light Rain
  • Snow Showers
  • Hail

Hope you find this useful!

Update: Weather Icons

Thanks to people in the Comments and Ian Moran for a list of the icon names:

  • weather_thunderstorms-40.gif
  • weather_partlycloudy-40.gif
  • weather_sunny-40.gif
  • weather_overcast-40.gif
  • weather_rainsnow-40.gif
  • weather_mostlycloudy-40.gif
  • weather_rain-40.gif
  • weather_scatteredthunderstorms-40.gif
  • weather_scatteredshowers-40.gif
  • weather_snowflurries-40.gif
  • weather_haze-40.gif
  • weather_smoke-40.gif
  • weather_fog-40.gif
  • weather_dust-40.gif
  • weather_icy-40.gif
  • weather_snow-40.gif
  • weather_sleet-40.gif
  • weather_cloudy-40.gif
  • weather_drizzle-40.gif
  • weather_windy-40.gif
  • weather_heavyrain-40.gif
  • weather_heavysnow-40.gif
  • weather_scatteredsnowshowers-40.gif

Old Google Weather API Icons

Thanks to Paulo Matos in the comments for a list of all the old icons:

  • http://www.google.com/ig/images/weather/chance_of_snow.gif
  • http://www.google.com/ig/images/weather/flurries.gif
  • http://www.google.com/ig/images/weather/snow.gif
  • http://www.google.com/ig/images/weather/sleet.gif
  • http://www.google.com/ig/images/weather/chance_of_rain.gif
  • http://www.google.com/ig/images/weather/chance_of_storm.gif
  • http://www.google.com/ig/images/weather/mist.gif
  • http://www.google.com/ig/images/weather/showers.gif
  • http://www.google.com/ig/images/weather/rain.gif
  • http://www.google.com/ig/images/weather/storm.gif
  • http://www.google.com/ig/images/weather/thunderstorm.gif
  • http://www.google.com/ig/images/weather/rain_snow.gif
  • http://www.google.com/ig/images/weather/sunny.gif
  • http://www.google.com/ig/images/weather/mostly_sunny.gif
  • http://www.google.com/ig/images/weather/partly_cloudy.gif
  • http://www.google.com/ig/images/weather/mostly_cloudy.gif
  • http://www.google.com/ig/images/weather/cloudy.gif
  • http://www.google.com/ig/images/weather/fog.gif
  • http://www.google.com/ig/images/weather/foggy.gif
  • http://www.google.com/ig/images/weather/smoke.gif
  • http://www.google.com/ig/images/weather/hazy.gif
  • http://www.google.com/ig/images/weather/dusty.gif
  • http://www.google.com/ig/images/weather/icy.gif

About James

Hello there, I'm James. I studied Multimedia Design at university. I'm a designer at heart, though I love developing innovative and exciting solutions to web based products. I now specialise in front end web design and bespoke Wordpress powered websites.

Be Social:

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

32 Responses to All Google Weather API Conditions

  1. Swafnir says:

    16:27 26/05/2011

    hey james,
    indeed this is interesting for me, as i am struggling with those changes too. but it would help me way more, if you could publish the filenames of all the possible icons, so i can easily adjust the filenames of my custom icons here.
    where did you take your informations from? my search-attempts have pretty much failed.

    thanks :)

  2. James says:

    16:30 26/05/2011

    Hi Swafnir,

    Like I say, they seem to have changed all the icons, so unfortunately I couldn’t find all the new image names! There are lists floating around of all the old names.

    I just used these to determine my icons, if($condition == “Sunny”) { Use this icon } etc

  3. root says:

    16:31 26/05/2011

    Google changed their API a bit today. Might be additional changes coming shortly.

  4. Swafnir says:

    16:38 26/05/2011

    yea you are right, in my case here i can approach it from this side too, using a switch($condition).
    thanks again!

  5. Bert Nitsche says:

    18:10 26/05/2011

    Infos on the new icon names can be found here:

    http://drupal.org/node/1133362#comment-4519286

  6. James says:

    18:54 26/05/2011

    Cheers Bert – I’ve updated the list above

  7. James says:

    18:54 26/05/2011

    @Swafnir – that’s exactly what I did, however – I’ve updated the list above with the icon names.

  8. Bert Nitsche says:

    21:38 26/05/2011

    I saw another icon in the wild:

    weather_mostlycloudy-40.gif

    Please give a notice if you find more icons. Tnx in advance!

  9. James says:

    21:51 26/05/2011

    Cheers Bert – added.

  10. Tobias says:

    08:31 27/05/2011

    I have two more ones:

    weather_drizzle-40.gif
    weather_windy-40.gif

  11. James says:

    08:32 27/05/2011

    Thanks Tobias, added!

  12. nono29 says:

    13:23 27/05/2011

    Also weather_heavyrain-40.gif and weather_heavysnow-40.gif

  13. James says:

    13:28 27/05/2011

    Cheers guys – list must almost be complete!

  14. Swafnir says:

    14:12 27/05/2011

    nice collaboration with us drupal-guys ;)
    the switch($condition)-solution only works for english though.
    in other languages the conditions in the xml are delivered in that specific language, so if you got a multilanguage-site you have to cover all the possible condition-words.

  15. Paulo Matos says:

    14:57 27/05/2011

    One more: weather_rainsnow-40.gif
    (also weather_partlycloudy-40.gif is repeated in the list)

    Thank you all!

  16. James says:

    14:59 27/05/2011

    Thanks Paulo, added!

  17. Jeff says:

    05:30 28/05/2011

    I want the old icons back. Has anyone collected them?

  18. Paulo Matos says:

    18:45 28/05/2011

    Hope it helps (see in post for a list of all icons)

  19. JUNO says:

    01:35 01/06/2011

    I collected this now. But I should try to find more.
    Thank you for ur post.

    http://g0.gstatic.com/images/icons/onebox/weather_sunny-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_partlycloudy-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_mostlycloudy-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_rain-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_cloudy-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_sleet-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_snow-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_icy-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_dust-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_fog-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_smoke-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_haze-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_snowflurries-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_scatteredthunderstorms-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_scatteredshowers-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_snowflurries-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_overcast-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_thunderstorms-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_rainsnow-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_mostlycloudy-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_drizzle-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_windy-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_heavyrain-40.gif
    http://g0.gstatic.com/images/icons/onebox/weather_heavysnow-40.gif

  20. Météo Kids says:

    20:23 03/06/2011

    You can add this one: weather_scatteredsnowshowers-40
    Sample: Chamonix, France

  21. Jeff says:

    09:54 05/06/2011

    Note, that in the above list of links to the old icons “dusty”, “hazy”, and “foggy” do not exist, use “dust”, “haze” and “fog” instead (fog is already mentioned, though).

  22. @ndy says:

    11:06 06/06/2011

    It seems like they’ve changed it once again!
    Here are a few I found:

    sunny.gif
    mostly_sunny.gif
    cloudy.gif
    partly_cloudy.gif
    mostly_cloudy.gif
    chance_of_storm.gif
    rain.gif
    chance_of_rain.gif
    thunderstorm.gif
    mist.gif

  23. James says:

    11:08 06/06/2011

    Oh really? Very annoying, I’ll have a look at the later – I imagine the condition names are similar…

  24. nono29 says:

    11:27 06/06/2011

    Damn it!

    They are putting the old icons back!
    It’s a waste of time!

  25. James says:

    11:31 06/06/2011

    Seems like it! Oh well, at least we have a list of all the conditions and icons still! Annoying for developers who have just switched to all the new icons. Maybe they got a load of complaints.

    One thing to bear in mind though is that the Google Weather API isn’t actually meant for public use, and has never truly been released.

  26. nono29 says:

    13:02 06/06/2011

    Yeah at least we know the list of the old icons. ^^

  27. Stuart Cam says:

    22:23 06/06/2011

    If you use the English words for referencing images then be aware that this will only work if the XML is requested with “&hl=en”.

    If you request the XML from Google with “&hl=fr” (French) for example, then guess what? No more English descriptions.

  28. Flick says:

    07:14 07/06/2011

    Hi James

    Just wanted to say a big thank you for your post on here. It was really helpful during the ‘down time’ of the standard naming convention, and also for finding out that Google have reverted back to the original names.

  29. James says:

    08:03 07/06/2011

    @Stuart – this is very true, however, I imagine the translations would work (mostly). I am English though, so don’t require the other language variations

    @Flick – Thanks, glad it helped you out

  30. nadji.info says:

    01:29 09/06/2011

    Excellent post, helped a lot. Thanks for posting, It really made it a breeze to implement API to my website.

    And just to note, a couple of minutes ago I got completely new weather Condition from the Google Weather API.
    New condition I noticed is “Rain Showers”, although I’m unsure if they changed existing “Showers” condition or simply added new one.

  31. SEO Sheffield says:

    18:02 18/11/2011

    Please give me google Weather API reference website list i want to integrate Google API in my site?

  32. Milen Yakimov says:

    15:05 26/01/2012

    add Snow Storm condition

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please wrap all source code with [code][/code] tags.

Follow Tristar on Twitter