module: create a weather module
hugolgst opened this issue · 4 comments
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.
Hi, I am new to open source and Go.
I would like to work on this issue.
Hello @sainitishkumar
You can make a PR for that!
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?
Yes she can! We just need to write that in the module.