Below is my file structure:
├── __pycache__
│ ├── config.cpython-311.pyc
│ └── run.cpython-311.pyc
├── app
│ ├── __init__.py
│ ├── __pycache__
│ ├── routes.py
│ └── templates
├── config.py
├── run.py
└── venv
├── bin
├── include
├── lib
└── pyvenv.cfg```
For one, any changes I should make this to conform to standards?
Anyways, I am making a Weather App. Super simple. I'm using the OpenWeatherAPI (https://openweathermap.org/) to do so. I have set up the files (please let me know if you need specific code to one I didn't provide) and my API is not retrieving any data. I have no experience with using external APIs.. any help is appreciated!
Currently, the error message is rendering because it is status 401.
Edit: The code below is to the `routes.py` file
Get current weather, hourly forecast, daily forecast for 16 days, and 3-hourly forecast 5 days for your city. Historical weather data for 40 years back for any coordinate. Helpful stats, graphics, and this day in history charts are available for your reference. Interactive maps show precipitation, clouds, pressure, wind around your location.