Trying to make a query in YQL console. This one works fine:
select * from weather.forecast where woeid=1989965
But I want to get values in metric system (celsius), so I use this query:
select * from weather.forecast where woeid=1989965 and unit='c'
I get a null result:
{
"query": {
"count": 0,
"created": "2016-03-28T01:46:08Z",
"lang": "ru",
"results": null
}
}
I could convert values by myself, but I hope I can make it work out of the box...
The Yahoo weather API is free for non-profits and individuals for their personal use. Commercial entities must request an invite from the Yahoo developer network.
The Yahoo Weather app is available for iOS and for Android.
The API key is all you need to call any of our weather APIs. Once you sign up using your email, the API key (APPID) will be sent to you in a confirmation email. Your API keys can always be found on your account page, where you can also generate additional API keys if needed.
Today I discovered, u='c' is worked. So, the answer for my own question would be:
select * from weather.forecast where woeid=1989965 and u='c'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With