Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EOL weather yahoo API: Weather needs credentials to work again #73

Closed
janus2 opened this issue Jan 6, 2019 · 17 comments
Closed

EOL weather yahoo API: Weather needs credentials to work again #73

janus2 opened this issue Jan 6, 2019 · 17 comments

Comments

@janus2
Copy link
Member

janus2 commented Jan 6, 2019

https://developer.yahoo.com/weather/

eol

diversys added a commit to haikuports/haikuports that referenced this issue Jan 15, 2019
@humdingerb
Copy link
Member

Maybe OpenWeatherMap could be an alternative. The free version allows for 60 calls/minute.

@janus2
Copy link
Member Author

janus2 commented Feb 16, 2019

I have tried to find a new api for Weather but there aren't any that can be used in the application.

The problem with OpenWeatherMap is that the free forecast service is 3 hours intervals and there isn't a summary for the day (no icon, no forecast message). The daily forecast is only available with the 16 days forecast (available only with a subscription).

@humdingerb
Copy link
Member

Shame. Now that Weather's icon set neared completion... :\

@CodeforEvolution
Copy link

CodeforEvolution commented Feb 24, 2019

Actually, while some parts of the api are vague, there is a “current weather” api in OpenWeather map for free. This includes some sort of weather icon id system, it’s just hidden on the website.

@janus2
Copy link
Member Author

janus2 commented Feb 24, 2019

@CodeforEvolution we are talking forecast not current conditions.

@CodeforEvolution
Copy link

Well, here’s another one: https://www.apixu.com/

They claim to provide real-time weather data, along with a daily forecast for up to the next 10 days. Their free api plan allows 10,000 api calls per month.

@cb88
Copy link

cb88 commented Apr 14, 2019

You guys seem to have missed that Yahoo still has a weather API it's even linked to in the notice... and it's still free for non commercial use. The old API is being deprecated and moved to the new one.

That said NWS has an API for the USA that might be nice to have as a backup.

@janus2
Copy link
Member Author

janus2 commented Apr 14, 2019

The new api is based on rss not json. It needs an application key not easy to manage on github.
If you want to rewrite the app to support the new api please create a PR.

@humdingerb
Copy link
Member

According to the docs, there's a json response, too: https://developer.yahoo.com/weather/documentation.html#json

@cb88
Copy link

cb88 commented Apr 14, 2019

Also The NWS api is json based...however it uses map coordinates instead of city names etc... still alternatives to depending on a single service would be nice...

I suppose you could always just manually create a separate api key package upload that to haiku depot, depend on it and read it from a config file? If you didn't want it in the repo.

@anonyummy
Copy link

Been looking all around for a good replacement api, haven't found one yet though. Tried using the forecastrss with the format as json, it didn't work sadly.

@pulkomandy
Copy link
Member

pulkomandy commented Jul 27, 2019 via email

@anonyummy
Copy link

anonyummy commented Jul 27, 2019 via email

@cb88
Copy link

cb88 commented Jul 27, 2019

So... why can't the updated Yahoo API be used, or did you miss the fact it still provides JSON?

@R4H33M
Copy link
Contributor

R4H33M commented Dec 15, 2019

https://www.metaweather.com/ is free (I don't think we are going to surpass their 1 request a minute limit), includes a 5 day forecast, and arguably gives the best data (as it is aggregated from multiple sources). Also, it doesn't require a API key!! Should I start working on a new backend that uses metaweather instead of the Yahoo API?

@pulkomandy
Copy link
Member

Yes, ideally, rework the code (if needed) so that the API is nicely separated from the rest of the code, so we can easily swap it in and out as needed (as no website we rely on will stay there forever...)

@scottmc
Copy link
Member

scottmc commented Jul 7, 2022

Closing this, as switching to Open Meteo is in progress. Research on alternates can be tracked on #4

@scottmc scottmc closed this as completed Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

8 participants