/python-weather

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.

Primary LanguagePythonMIT LicenseMIT

Weather Information Retrieval Application

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.

Requirements

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)

How to Use

  1. Clone this repository or download it as a ZIP file.
  2. Get your OpenWeatherMap API key from openweathermap.org/api.
  3. Insert your API key into the API_KEY variable in the main.py file in the project's root directory.
  4. Open a terminal or command prompt and navigate to the project directory.
  5. Run the application by executing the following command:
    python main.py
    
  6. The application will prompt you to enter a city name. Enter the desired city name and press Enter.
  7. The application will display the weather information for the selected city on the screen.

License

This project is distributed under the MIT license. Refer to the LICENSE file for more information.

Issues, Feature Requests or Support

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.