Developer blog Archive
Month February, 2012
February 9th, 2012: The Google weather API ¶
If you happen to want a quick way for looking up the weather in your own applications, you can use the hidden Google weather API. To access it, just fetch the response for http://www.google.com/ig/api?weather=[your city]. You can replace [your city] with anything you want… a ZIP code or the name of the city you want to look up. This API provides the current weather and a three-day forecast in a handy XML format.

The usage is quite straight forward… just try it out. Originally it’s apparently used for iGoogle’s weather widget, so it’s not very detailed. However it’s still very handy for a quick look at the weather.



