Git Product home page Git Product logo

Comments (11)

louistiti avatar louistiti commented on July 17, 2024

✨ Forecast Package

from leon.

louistiti avatar louistiti commented on July 17, 2024

Hello @Thibaud-A,

Thanks for your suggestion. Better to wait for the NLU improvement before creating this module.

I added it to the roadmap 😉

from leon.

Thibaud-A avatar Thibaud-A commented on July 17, 2024

Hello @louistiti ,

Ok thanks !
I already did a little POC using openweathermap for the weather forecast and ipstack for the ip geolocalisation. If someone have better API don't hesitate to suggest me. In any case, I'll wait the NLU improvement before converting this POC in a real package.

from leon.

louistiti avatar louistiti commented on July 17, 2024

Awesome!

I'm looking forward to see your contribution later on then 👍

from leon.

ethinallen avatar ethinallen commented on July 17, 2024

I can write something for this Sunday using the Dark Sky API; the pricing plan seems to be a lot cheaper than openweathermap (the first 1000 api calls are free and $0.0001 / call after that).

from leon.

louistiti avatar louistiti commented on July 17, 2024

Hello @ethinallen,

Great! We could definitely create a Forecast package which contains the OpenWeatherMap and the Dark Sky modules.

However, to make Leon understands which one of these modules he needs to use we'll need to add using dark sky or using openweathermap to the expressions for one of these modules. So we'll need to see which one we can use as default module as the expressions will be pretty much the same.

Also, please note that the NLU needs to be improved before starting working on this package.

from leon.

Thibaud-A avatar Thibaud-A commented on July 17, 2024

Hello @ethinallen,

Thanks for your suggestion ! :-)
I checked the pros and the cons between OpenWeatherMap and Dark Sky and I have concluded this.

Pro of Darsky :

  • more precise when you want minute to minute weather

Cons :

  • less features on the free version,
  • less call availables (1000 per day for Dark Sky and 60 per minutes/86400 per day for OpenWeatherMap)
  • only one way to give information on the location (longitude/lattitude). In OpenWeatherMap you can :
    • by city name
    • by city ID
    • by long/lat
    • by zip code
  • you can ask for several cities in a single request
  • uv index feature for free (I don't know that could exist)

In any case, as @louistiti said it could be great to give the opportunity to use differents API. I suggest OpenWeatherMap because there is a lot of features free and you don't have to set a credit card for using it. But if you want to lay the foundation of this package with Dark Sky : go for it ! :D

from leon.

Immortalin avatar Immortalin commented on July 17, 2024

For simple use there's https://wttr.in

from leon.

louistiti avatar louistiti commented on July 17, 2024

Hello @Immortalin,

Thanks for sharing! It seems to use wego for the data sources, which means it is using OpenWeatherMap, etc. Better to directly pull data from the sources instead of having another layer between.

from leon.

jaabberwocky avatar jaabberwocky commented on July 17, 2024

Hi @louistiti , was playing around with Leon and found it fascinating! Though I noticed too that there was no weather module, similarly to what was described in issue #251 . Could I check if a quick POC can be done on this or it should wait for other improvements? Thanks!

from leon.

louistiti avatar louistiti commented on July 17, 2024

Hi @jaabberwocky 👋,

Thanks for willing to contribute into Leon! At this stage I'd say it'd be better to wait for upcoming versions but feel free to contribute. All the PRs will be merged once some upcoming versions will be released.

from leon.

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.