├── requirements.txt ├── README.md └── weather.py /requirements.txt: -------------------------------------------------------------------------------- 1 | requests>=2.31.0 -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Weather API 2 | 3 | Simple API. -------------------------------------------------------------------------------- /weather.py: -------------------------------------------------------------------------------- 1 | import requests 2 | 3 | def get_weather(city): 4 | return {'city': city} --------------------------------------------------------------------------------