fuel9 / DisplayMonkey

Display Monkey digital signage solution
Other
126 stars 50 forks source link

Yahoo weather API is end of life #92

Closed HansKatsman closed 5 years ago

HansKatsman commented 5 years ago

We found today that the Yahoo weather API is end of life soon. In our own version we used the weather underground API, however also this API stops Jan1 2019. Do you know a free alternative? We found a few with limited calls per minute like https://openweathermap.org/appid

Important EOL Notice The weather.yahooapis.com and fallback endpoints are being retired. We will no longer be providing free Weather API services for public users. Please contact yahoo-weather-ydn-api@oath.com if you have any questions, comments, or interest in supported paid services.

DisplayMonkey commented 5 years ago

This is a tough one. Nobody these days wants to offer weather for free.

Considering this route - https://developer.yahoo.com/weather/?guccounter=1

mtterry commented 5 years ago

https://openweathermap.org has a free version with up to 60 calls per minute.

psined1 commented 5 years ago

Thanks for sharing, good to know. We will explore this as an option.

jre08 commented 5 years ago

Take a look at: https://github.com/michael-lynch/open-weather

I combined two scripts to form my own weather using an HTML frame.

https://www.jqueryscript.net/other/jQuery-City-Weather-Forecast-Plugin-with-YQL-WeatherFeed.html
--and-- https://github.com/michael-lynch/open-weather

psined1 commented 5 years ago

@jre08 - great to know you've found a workaround. If you could share some details how you have implemented it with DM, that would be great help for other people.

In the meantime we are planning a service release with updated (and still free :) Yahoo API.

HansKatsman commented 5 years ago
    Thanks

We also implemented the open weather api solution in DecemberI’ll share the link to our code tomorrow

    Regards Hans Katsman (mobile)

On Mon, Feb 11, 2019 at 8:34 PM +0100, "Denis P." notifications@github.com wrote:

@jre08 - great to know you've found a workaround. If you could share some details how you have implemented it with DM, that would be great help for other people.

In the meantime we are planning a service release with updated (and still free :) Yahoo API.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

jre08 commented 5 years ago

The following is the code I inserted into an HTML frame. Of course you will need the script from https://github.com/michael-lynch/open-weather to implement this. I did modify the script a little so that it would display a "weather" background picture. I can go into further detail on how this can be accomplished pretty easily, if anyone is interested.

My code wasn't displaying correctly when I tried to do a 'Code Insert' so I'm providing the txt file.

weathercode.txt