This simple Python application helps you retrieve the current weather information for a city using the OpenWeatherMap API. It takes a city name from the user and displays weather-related details for that city.
To run this application, you'll need the following requirements:
- Python 3.x
requests
library (to install:pip install requests
)- OpenWeatherMap API key (you can obtain a free key from openweathermap.org)
- Clone this repository or download it as a ZIP file.
- Get your OpenWeatherMap API key from openweathermap.org/api.
- Insert your API key into the
API_KEY
variable in themain.py
file in the project's root directory. - Open a terminal or command prompt and navigate to the project directory.
- Run the application by executing the following command:
python main.py
- The application will prompt you to enter a city name. Enter the desired city name and press Enter.
- The application will display the weather information for the selected city on the screen.
This project is distributed under the MIT license. Refer to the LICENSE file for more information.
Please use the New Issue button to submit issues, feature requests or support issues directly to me. You can also send an e-mail to akin.bicer@outlook.com.tr.