How to get weather at current location

Tuan Vu picture Tuan Vu · Mar 15, 2013 · Viewed 62.9k times · Source

Possible duplicate:

Get weather update of current location?

How can I get the weather in current location from Latitude and Longitude?

I'm developing an app, it can update weather at current location. I have googled and found how to use Google API. But now Google API not available, and I used Yahoo weather instead.

My questions:

  1. How to get weather use Yahoo Weather API

  2. Tutorial or Source Code

Answer

AurA picture AurA · Mar 15, 2013

let me tell you what you should NOT use.. Google API ( it has been stopped )

http://thenextweb.com/google/2012/08/28/did-google-just-quietly-kill-private-weather-api/

Then, you have other options like

Yahoo Weather API

http://developer.yahoo.com/weather/

Eg.. To get the forecast for Paris, France, with degrees Celsius and other metric units: http://weather.yahooapis.com/forecastrss?w=615702&u=c

for other example visit the link http://developer.yahoo.com/weather/#examples

WunderGround Weather API

http://www.wunderground.com/weather/api/

Another Good Alternate is Open Weather Map API , it supports JSON output by passing just the latitude and longitude of the location.

http://openweathermap.org/wiki/API/JSON_API