Weather Checker

Overview

Weather Checker is a Python script that fetches and displays current weather information for a given city using the OpenWeatherMap API.

Usage

  1. Sign up for a free OpenWeatherMap API key: OpenWeatherMap API.
  2. Clone or download this repository.
  3. Install the required libraries by running: pip install requests.
  4. Open the weather_checker.py file and replace 'YOUR_API_KEY' with the actual API key you obtained.
  5. Run the script by executing: python weather_checker.py.

Features

  • Fetches and displays current temperature, weather description, humidity, and wind speed.
  • Allows users to keep asking for weather information until they type 'exit,' 'bye,' or 'cancel'.

Configuration

  • Replace 'YOUR_API_KEY' in the script with the API key obtained from OpenWeatherMap.

Dependencies

  • requests: HTTP library for making API requests.

Issues

If you encounter issues, please check your API key and ensure proper internet connectivity.

License

This project is licensed under the MIT License.


Feel free to contribute or report issues! Happy coding!