Weather APIs For Android
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
Related videos on Youtube
WonderBoy
Updated on March 07, 2020Comments
-
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.
-
Pratik Butani over 10 years
-
-
Noman over 11 yearsi want to get json response from this.. how can i do that ??
-
Ashni Goyal about 11 yearsthis is not for commercial use
-
Ivan Ičin over 10 yearsIt is free for personal use. Not if you are a company.
-
Namikaze Minato about 10 yearsHola. 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 over 8 yearsContinuing with the shameless plugs, we just released an update to the Aeris Android Weather SDK with additional endpoints, etc.. :-)
-
DeNitE Appz over 8 yearsI'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 about 8 yearsDoes not work, because API not more available as public.
-
Zhenghong Wang about 8 yearsYahoo'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 about 5 yearsThis link is now broken, as the company sold to someone else
-
four43 about 5 yearsUpdated @MarcStevenPlotz, didn't realize that link was broken, thanks.