I have searched Google and Stack Overflow many times, but I can't seem to find the answer. I am needing to get the current weather for my location using the yahoo API. Please don't suggest other APIs as this is for work and I can't use anything else. I am getting the lat and long of the device, but I can't seem to find the proper URL for the request. Any help would be greatly appreciated. Also, if providing code, please do so in Objective-C/iOS. I have looked through the documentation for the API, but I am not seeing what I need. I need to get the woeid so that I can then request the weather condition.
Thanks!
Searching the web I found that this URL:
http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20geo.placefinder%20where%20text%3D%2237.416275%2C-122.025092%22%20and%20gflags%3D%22R%22
give you a JSON with the information you are looking for
you will have to replace the coordinates 37.416275
and -122.025092
with your own values, I guest it is possible to get the response in JSON format to.
EDIT
In this site you can find more information.