There are a ton of ways to get your current and forecasted weather on the web. Yahoo, Accuweather, The Weather Network and even Google. It’s kind of annoying how none of these are accurate, but then again, predicting weather has never been easy. Correct or not, there is a Google weather api that you can use to get XML formatted weather. Hopefully I’m not the only one that finds this exciting. You can retrieve the current weather with temperatures in Celsius and Farenheit, plus the four day forecast. Great for Flash applications, iPhone apps, and Arduino driven weather-at-a-glance devices (stay tuned for that one). Wheeeee!
Vancouver’s Weather:
http://www.google.com/ig/api?weather=Vancouver,BC
(Make sure you “view source” to see the XML)












Louai says:
Hi,
Glad to see the comments are back up
I have more detailed info on the google weather API, as I flounder my way to creating a flash weather app. Listed resources and links and how I connect my flash app the my proxy in PHP which connects to Google Weather API.
http://weatherdoll.com/google-weather-api-flash.php
Sep 23, 2008, 8:25 pmJames says:
Wow I agree, this is exciting! I was just looking for an api that i could use for a project of mine and xml is perfect my ajaxy project… now to figure out what kind of params it supports like area codes or long/lat coords.
Sep 23, 2008, 8:23 pmDimitar Shterionov says:
Hi to all, I am trying to create a website using google maps and google weather apis. But I get one problem – I cannot get the weather for all the region I am interested in. I mean when I create a loop for all the cities in the country I am working on google blocks my program as it is a virus or some spyware.
Sep 23, 2008, 12:17 amIs there a way to get weather (as an xml file) for a whole region something like this for example:
http://www.google.com/ig/api?weather=Greece
or
http://www.google.com/ig/api?weather=,Greece
Qasim Shah says:
but i want to know how can I USE THIS XML in my code for iphone
Sep 23, 2008, 2:11 am