After a cold winter, you are tired of this cold weather and instead, plan on making a trip to a warm location. However, your requirements are strict, and you want to travel to the country that is currently the warmest. As a result,you first develop an API to find out what location is currently the warmest.
You can run the api by running the script run_api.sh and you
can run the script to get the warmest country in South America by running the
script run_script.sh. The script will output the warmest country in South America,
and save the image of the forecast as forecast_<country>.png.
Replace YOUR_API_KEY with your own API key for openweathermap.
The test script cannot be run without having the API running.
Recommended to run in WSL or Linux.
./run_api.sh <YOUR API KEY>./run_script.shAPI documentation can be found in the /docs route of the API.
The openapi.json file containing the OpenAPI documentation can be found in the
static folder.