Comments (17)
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...)
from weather.
Maybe OpenWeatherMap could be an alternative. The free version allows for 60 calls/minute.
from weather.
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).
from weather.
Shame. Now that Weather's icon set neared completion... :\
from weather.
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.
from weather.
@CodeforEvolution we are talking forecast not current conditions.
from weather.
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.
from weather.
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.
from weather.
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.
from weather.
According to the docs, there's a json response, too: https://developer.yahoo.com/weather/documentation.html#json
from weather.
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.
from weather.
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.
from weather.
from weather.
from weather.
So... why can't the updated Yahoo API be used, or did you miss the fact it still provides JSON?
from weather.
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?
from weather.
Closing this, as switching to Open Meteo is in progress. Research on alternates can be tracked on #4
from weather.
Related Issues (20)
- Wrong days titles in forecast? HOT 1
- Prevent truncation
- Add moon phases
- Add UV index
- Add sunrise/sunset information
- Add line of sight data
- Add humidity data
- Add atmospheric pressure info
- Forecasts are often not in sync with the application vs replicant
- Night-time symbols are not appropriate
- Deskbar replicant broken HOT 2
- Error trying to compile under Haiku 32 bits. HOT 11
- Weather doesn't show correct images? HOT 2
- Switch from LIBNETAPI_DEPRECATED to BPrivate::Network HOT 2
- Timezones not parsed resulting in forecast from a previous day
- Incorrect city results when using locales HOT 2
- Weather broken on hrev56575 HOT 3
- Adjust icon size/layout to system font size HOT 1
- City label is never translated in location window HOT 12
- Move settings into a subfolder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weather.