Giter Site home page Giter Site logo

Comments (17)

pulkomandy avatar pulkomandy commented on August 11, 2024 1

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.

humdingerb avatar humdingerb commented on August 11, 2024

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

from weather.

janus2 avatar janus2 commented on August 11, 2024

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.

humdingerb avatar humdingerb commented on August 11, 2024

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

from weather.

CodeforEvolution avatar CodeforEvolution commented on August 11, 2024

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.

janus2 avatar janus2 commented on August 11, 2024

@CodeforEvolution we are talking forecast not current conditions.

from weather.

CodeforEvolution avatar CodeforEvolution commented on August 11, 2024

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.

cb88 avatar cb88 commented on August 11, 2024

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.

janus2 avatar janus2 commented on August 11, 2024

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.

humdingerb avatar humdingerb commented on August 11, 2024

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

from weather.

cb88 avatar cb88 commented on August 11, 2024

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.

anonyummy avatar anonyummy commented on August 11, 2024

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.

pulkomandy avatar pulkomandy commented on August 11, 2024

from weather.

anonyummy avatar anonyummy commented on August 11, 2024

from weather.

cb88 avatar cb88 commented on August 11, 2024

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

from weather.

R4H33M avatar R4H33M commented on August 11, 2024

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.

scottmc avatar scottmc commented on August 11, 2024

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

from weather.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.