How to get the weather report of my current location

I need to get a weather report of my current location.

For example, if I am in a xyz location, then I need to get a weather report on the xyz location. And if I am in the abc location, I need to get the abc location weather report.

I heard that Apple does not provide any services regarding weather reports. To do this, we need to use third-party services.

Does my application have any weather reporting services?

Can someone help me.

Thanks in advance.

+4
source share
3 answers

Yes, yahoo provides a weather service - on the iPhone you need

  • get your longitude and latitude using CoreLocation
  • Using

http://query.yahooapis.com/v1/public/yql?q=select+place+from+flickr.places+where+lat=%f+and+lon=%f

to get woeid (WhereOnEarth ID)

to get a weather report

+3
source

There is a service from weather.com, I used it for my online application agrosenti.cloudapp.net.

And it is quite easy to use. You should download the documentation and follow the recommendations.

The weather forecast API is a good option.

If you need more APIs and further assistance, please tell me.

0
source

All Articles