A Dockerized Python-Flask-PostgreSQL application for fetching weather data from Meteostat API
Install docker
Install docker-compose
Run the following command in the root directory
docker-compose upIf some changes are made to file; please run following command first
docker-compose buildPlease refer the documentation published here to learn to use this API.
Pull requests are more than welcome. For major changes, please open an issue first to discuss what you would like to change.
- /load_historical_data/<stationID=10382>
- /load_daily_data/<stationID=10382>
This will give JSON response of the average air temperature for the month of February for the "Berlin / Tegel"
- /berlin_tegel_station_data/
This endpoints will run on port 90. e.g //localhost:90/berlin_tegel_station_data/ Hope you find this helpful