Here is an open-source project highlighting the use of the openweather API (https://openweathermap.org/api). This project is mainly to understand its use (API) as well as the possibilities offered by a free-API.
For this project, im using the OpenWeather API wich is very useful and returns a lot of informations for your personal project.
With this code, you can enter a City Name, and retreive the live temperature of the city with a Tkinter
UI.
First of all you will need to have pip
and Python 3.x
installed on your OS if you haven't installed these package yet, you can get it by clicking on this link click me
python setup.py
Or
python3 setup.py
[ ! ] Please don't spam the API if this API Key get banned do a pull requests
To run the script, run this command:
python openweatherAPI-Walkthrough.py