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

Add a new route to the API #6

Open
alfredodeza opened this issue Oct 4, 2023 · 0 comments
Open

Add a new route to the API #6

alfredodeza opened this issue Oct 4, 2023 · 0 comments

Comments

@alfredodeza
Copy link
Contributor

alfredodeza commented Oct 4, 2023

The current API is not exposing country/{country} which needs to be implemented to list cities. The route should allow only GET HTTP requests with a JSON response providing information from the historical high and low for that country, city, and given month.

As with any implementation, this addition should include at least one test function to work with the pytest runner and test framework. The test should verify a 200 response from a correct request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant