Skip to content

Simple Weather Forecast App: Retrieve current weather information by inputting country and city. Utilizes OpenWeatherMap API for data retrieval. Displayed in a visually appealing format with temperature conversion and local time display.

Notifications You must be signed in to change notification settings

Rai-zip/WeatherWiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Weather Forecast App

Overview

This is a simple weather forecast application that allows users to retrieve current weather information by inputting the country and city of their choice. The app utilizes the OpenWeatherMap API to fetch weather data, which includes temperature, description, humidity, sunrise time, and sunset time. The retrieved data is displayed in a visually appealing format with temperature conversion to Celsius and Fahrenheit and local time display for sunrise and sunset.

Features

  • Input country and city to fetch weather information
  • Display weather description, temperature, feels-like temperature, humidity, sunrise time, and sunset time
  • Temperature displayed in both Celsius and Fahrenheit
  • Local time display for sunrise and sunset

Technologies Used

  • Python
  • Requests library for making HTTP requests
  • OpenWeatherMap API for weather data retrieval

Usage

  1. Clone the repository to your local machine.
  2. Install the required dependencies (requests library).
  3. Run the weather_forecast.py script.
  4. Follow the prompts to input the country and city.
  5. View the weather information displayed in the console.

API Key

To use the OpenWeatherMap API, you will need to sign up on their website to obtain an API key. Once you have the API key, replace the API_KEY variable in the weather_forecast.py script with your own API key.

Contributions

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

Simple Weather Forecast App: Retrieve current weather information by inputting country and city. Utilizes OpenWeatherMap API for data retrieval. Displayed in a visually appealing format with temperature conversion and local time display.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages