Getting the weather in current location from Latitude and Longitude in iPhone

user2082055 picture user2082055 · Feb 18, 2013 · Viewed 13.5k times · Source

I have current location Latitude[17.382042000000000000] and Longitude[78.481727299999990000].

Is there any way find out the weather based on these Latitude and Longitude?
Is there any third party free APIs for finding the weather based on these values?
Can any one provide me some guidelines or URLs for this problem?

Answer

Konstantin D. picture Konstantin D. · Jan 3, 2014

Also, I'd recommend to check OpenWeatherMap API. You can use it for free and I think it can help you. For instance, in your case a URL might look like this:

api.openweathermap.org/data/2.5/weather?lat=17.38&lon=78.48

It will return a data in JSON format. For more details please check the API documentation.