Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build a Weather.cs helper that abstracts away the differences of the different weather APIs for the common use cases #120

Open
cs-util opened this issue Jan 23, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed to do

Comments

@cs-util
Copy link
Collaborator

cs-util commented Jan 23, 2024

Take a look at the different weather APIs and their responses in WeatherReportExamples

Define a few user stories what are common use cases how weather APIs are typically used.
E.g. this one is probably a good one to start with:

Get the weather state at GPS position (e.g. the users position) for now and the next x hours. This state per hour should include the temperature, if its raining, ...

This Weather.cs should not try to do that much (for most use cases the specific APIs should be used) and it should also try to be stateless. One thing that can be tested is if it can normalize the responses from the different providers to map to a common WeatherResponse

@cs-util cs-util added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers to do labels Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed to do
Projects
None yet
Development

No branches or pull requests

1 participant