This program uses the OpenWeatherMap API to fetch and display weather details for a given city.
- Python 3.x
- requests library
- Clone the repository:
git clone https://github.com/your-username/weather-details.git
- Install the requests library if you haven't already:
pip install requests
- Obtain an API key from OpenWeatherMap.
- Add your API key to the
key
variable in the script.
- Run the script:
python weather_details.py
- Enter the name of the city for which you want to fetch weather details.
$ python weather_details.py
enter your city name: London
Here are the London Weather details:
This project is licensed under the MIT License - see the LICENSE file for details.