This is a simple Python script to fetch weather information using the OpenWeatherMap API.
This Python script retrieves current weather data for a specified city by interacting with the OpenWeatherMap API. It displays the temperature and weather description in both English and Turkish for better readability.
- Obtain an API key from OpenWeatherMap and replace
"THIS PRIVATE KEY"
inmain.py
with your API key. - Run the script and enter the name of the city for which you want to fetch weather information.
- Python 3.x
requests
library (pip install requests
)