Weather APIs For Android

44,783

Solution 1

I made a wrapper for Yahoo Weather API on android. Check it here: https://github.com/zh-wang/YWeatherGetter4a

Solution 2

yes u can use yahoo weather api

http://developer.yahoo.com/weather/ check this one it provides api for having weather inforamation for any city

http://weather.yahooapis.com/forecastrss?w=2502265 as below link will give u weather information for Sunnyvale which have WOEID=2502265 which is defined at above link after w..

and for different woied id for different city u can use this api http://where.yahooapis.com/geocode?q=ahmedabad=[yourappidhere]

put ur city name after "q" at this link

i hope this will solve ur issue

Share:
44,783

Related videos on Youtube

WonderBoy
Author by

WonderBoy

Updated on March 07, 2020

Comments

  • WonderBoy
    WonderBoy about 4 years

    I would like to know of some API which i could use to retrieve weather information in Android. I came across samples which make use of the Google Weather API and it works fine.But since the Google Weather API is not official and open for public yet , there is the risk of it being discontinued anytime.

    Also some blogs say that the data returned by the Google Weather API is not accurate and caution using it.

    Hence i am looking for some API which i can use in Android.If anyone is already using some API kindly let me know.

  • Noman
    Noman over 11 years
    i want to get json response from this.. how can i do that ??
  • Ashni Goyal
    Ashni Goyal about 11 years
    this is not for commercial use
  • Ivan Ičin
    Ivan Ičin over 10 years
    It is free for personal use. Not if you are a company.
  • Namikaze Minato
    Namikaze Minato about 10 years
    Hola. I used that library in my app. Unfortunately when I want to retrieve my current location city name it just shows country location: Iran. I even used exact latitude and longitude, again just country name. How can I increase the precision?
  • SunfiShie
    SunfiShie over 8 years
    Continuing with the shameless plugs, we just released an update to the Aeris Android Weather SDK with additional endpoints, etc.. :-)
  • DeNitE Appz
    DeNitE Appz over 8 years
    I've used your wrapper, and it was working great (thanx btw!), but stopped all of the sudden... I was using the weather from gps... Just gives me an error that the location can't be found. Even your sample app doesn't seem to work anymore.
  • Yazon2006
    Yazon2006 about 8 years
    Does not work, because API not more available as public.
  • Zhenghong Wang
    Zhenghong Wang about 8 years
    Yahoo's reverse geocoding is not free now, but weather api still works. I have changed reverse geocoding from Yahoo's api to android's geocoder.
  • Marc Steven Plotz
    Marc Steven Plotz about 5 years
    This link is now broken, as the company sold to someone else
  • four43
    four43 about 5 years
    Updated @MarcStevenPlotz, didn't realize that link was broken, thanks.