Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

module: create a weather module #84

Open
hugolgst opened this issue Apr 17, 2020 · 4 comments
Open

module: create a weather module #84

hugolgst opened this issue Apr 17, 2020 · 4 comments
Labels
good first issue Good for newcomers kind:module-enhancement New feature or request on modules priority:low status:accepted
Milestone

Comments

@hugolgst
Copy link
Member

Create a weather module which will get the weather for a given city, at a given date (using the language/date package).
The API for that isn't chosen yet.
You can copy the model of the Spotify module for the registration of the tokens, see here
Save the API key into user information if the API requires a token.

Opened for contributors.

@hugolgst hugolgst added good first issue Good for newcomers priority:low status:accepted kind:module-enhancement New feature or request on modules labels Apr 17, 2020
@hugolgst hugolgst added this to the 3.0.0 milestone Apr 17, 2020
@sainitishkumar
Copy link

Hi, I am new to open source and Go.
I would like to work on this issue.

@hugolgst
Copy link
Member Author

Hello @sainitishkumar
You can make a PR for that!

@aculclasure
Copy link
Contributor

aculclasure commented May 11, 2021

Hi @hugolgst and @sainitishkumar

I came across this issue and it seems to coincide with some work I have done on simple Go client for the OpenWeather API. I would like to know if that work would be helpful for this issue. I have a Go package called weather that provides logic to get the current weather conditions at a given location. I think this package could be extended to provide the weather on a given date also. The only drawback is that the free tier for this OpenWeather API only offers forecasts for out to 7 days. I think Olivia would have to provide some kind of response to the user if they requested a forecast date that was out of range of their API tier. What do you think?

@hugolgst
Copy link
Member Author

Yes she can! We just need to write that in the module.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers kind:module-enhancement New feature or request on modules priority:low status:accepted
Projects
None yet
Development

No branches or pull requests

3 participants