HOW TO find weather information for a place based on its WOEID using YQL & jQuery
There are many free Weather APIs that can fetch your weather details for a location but if you had to fetch it based on WOEID, you can turn to YQL or the Yahoo! Query Language & Yahoo! Weather API. Interestingly, unlike other free Weather APIs, YQL can also return JSONP results over HTTPS.
Here's the code (from my first GitHub Gist) -
The default unit of measurement of the temperature in the results returned by the API, is Fahrenheit. You can specify "c" or "f" for the unit parameter to get results in Centigrade and Fahrenheit respectively. Note that lower-case "c" or "f" has to be used.
Also see:
Here's the code (from my first GitHub Gist) -
The default unit of measurement of the temperature in the results returned by the API, is Fahrenheit. You can specify "c" or "f" for the unit parameter to get results in Centigrade and Fahrenheit respectively. Note that lower-case "c" or "f" has to be used.
Also see:
Comments
Post a Comment