Using Google Weather API with Lat and Lon - how to format?
Posted
by Paul
on Stack Overflow
See other posts from Stack Overflow
or by Paul
Published on 2010-05-06T11:54:44Z
Indexed on
2010/05/06
11:58 UTC
Read the original article
Hit count: 287
latitude-longitude
|google-weather-api
I am wanting to use the Google Weather API - by passing lat and long values. However it seems Google is needing these formatted differently to the values I have stored.
i.e. For the town of McTavish I have values of 45.5 and -73.583
This works here: http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=45.5,-73.583
But when I use Google it does not: See: www.google.com/ig/api?weather=,,,45.5,-73.583
Any help appreciated. I would prefer to use the Google Data.
© Stack Overflow or respective owner