How to get the weather at your current location

Possible duplicate:

Get weather updates for your current location?

How to get weather at current location from Latitude and Longitude?

I am developing an application, it can update the weather at the current location. I googled and found how to use the Google API. But now the Google API is not available, and I used Yahoo instead.

My questions:

  • How to use the weather Yahoo Weather API

  • Tutorial or source code

Thanks in advanced mode.

+8
android weather yahoo-weather-api
source share
4 answers

I personally used this API for free, and you can get the weather forecast for any location via zip code, zip code, latitude and longitude

Free local web REST API

** NOTE: ** The Local Weather API returns weather data in XML, JSON, and CSV format and contains weather elements such as temperature, precipitation, weather description, weather icon, and wind speed.

+9
source share

let me tell you what you should NOT use. Google API (it was 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 a forecast for Paris, France, with a degree of Celsius and other metric units: http://weather.yahooapis.com/forecastrss?w=615702&u=c

for another example, go to http://developer.yahoo.com/weather/#examples

WunderGround Weather API

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

Another good alternative is the Open Map Map API , which supports JSON output, passing only the latitude and longitude of the location.

 http://openweathermap.org/wiki/API/JSON_API 
+12
source share

Here is a set of weather APIs that you can experiment with using your browser and then generate the source code in your favorite language:

https://live.temboo.com/library/keyword/weather/

Full disclosure: I work at Temboo.

+2
source share

You can get the integration API in android, but it needs a little knowledge about parsing the XML response.

weather data to display current weather

0
source share

All Articles