Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
Yahoo retired its YQL API so, I am switching to use the OAuth1.0 protected weather forecast API,
https://weather-ydn-yql.media.yahoo.com/forecastrss?w=2502265
Got whitelisted my app through email as instructed here,
https://developer.yahoo.com/weather/
Sending request to get weather data with the proper Authorization header returns nothing but this, error status: 500
<rss xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:yweather="http://xml.weather.yahoo.com/ns/rss/1.0" version="2.0">
<channel>
<yweather:units distance="mi" pressure="in" speed="mph" temperature="F"/>
</channel>
any idea what's going wrong?
–
–
–
–
–
I had a very quick support from the Yahoo team. Below is their answer regarding this issue:
Maybe you missed our earlier email but there was some service
reliability issues, which should work well now. Please try again and
let us know if you have any other problems. You can also read through
the code examples on
https://developer.yahoo.com/weather/documentation.html for sample
OAuth1 call to our API.
PS: if you still encounter problems with Postman, please try curl
command instead, which should have more reliable and valid response.
Regards,
Yahoo Weather Team
I can confirm, my app successfully connect to the weather API without any change on my code (no more 500 error)
They are retiring their weather API. Did you go through the new onboarding listed on their site?
Important EOL Notice: As of Thursday, Jan. 3, 2019, the weather.yahooapis.com and query.yahooapis.com for Yahoo Weather API will be retired.
To continue using our free Yahoo Weather APIs, use https://weather-ydn-yql.media.yahoo.com/forecastrss. Contact yahoo-weather-ydn-api@oath.com for credentials to onboard to this free Yahoo Weather API service.
–
–
–
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.