https://github.com/eon01/python-weather-api-example
A simple Python weather app for educational purpose.
https://github.com/eon01/python-weather-api-example
Last synced: 10 months ago
JSON representation
A simple Python weather app for educational purpose.
- Host: GitHub
- URL: https://github.com/eon01/python-weather-api-example
- Owner: eon01
- Created: 2020-04-24T10:16:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T07:27:33.000Z (over 3 years ago)
- Last Synced: 2025-04-19T01:32:50.151Z (about 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A simple Python weather API wrapper for educational purpose.
Build:
```
docker build -t weather:v1 .
```
Run:
```
docker run -dit --rm -p 5000:5000 --name weather weather:v1
```
You can also run it using Docker Compose:
```
docker-compose up
```
Test:
```
curl http://0.0.0.0:5000/london/uk/
```