Skip to content

Commit

Permalink
Remove unused cities endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredodeza committed Dec 14, 2023
1 parent aec1782 commit e7bfdf7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions webapp/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ def countries():
return list(data.keys())


@app.get('/countries/{country}')
def cities(country: str):
return list(data[country].keys())


@app.get('/countries/{country}/{city}/{month}')
def monthly_average(country: str, city: str, month: str):
return data[country][city][month]
Expand Down

0 comments on commit e7bfdf7

Please sign in to comment.