2010-09-06

Google Weather API

iGoogle Weather Feed API hasn't yet officially support the xml feed of weather. Anyway it can be used by http://www.google.com/ig/api?weather=$city.

For example, you want the rss feed of shanghai:

http://www.google.com/ig/api?weather=shanghai

In the xml, you will get current conditions and 4-days forcast.

22 Possible condition icons:

chance_of_rain.gif
sunny.gif
mostly_sunny.gif
partly_cloudy.gif
mostly_cloudy.gif
chance_of_storm.gif
showers.gif
rain.gif
chance_of_snow.gif
cloudy.gif
mist.gif
storm.gif
thunderstorm.gif
chance_of_tstorm.gif
sleet.gif
snow.gif
icy.gif
dust.gif
fog.gif
smoke.gif
haze.gif
flurries.gif

    Reference:

    1 comment:

    1. Google
      Sorry...
      We're sorry...

      ... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now.
      See Google Help for more information.

      ReplyDelete