An open API service indexing awesome lists of open source software.

https://github.com/mohamedasad10/weatherapp


https://github.com/mohamedasad10/weatherapp

api python weather-api

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# WeatherApp
WeatherApp is a simple yet powerful Python application that provides real-time weather updates for any location worldwide. Leveraging a reliable weather API, this application fetches and displays current weather conditions, including temperature, humidity, wind speed, and more. Whether you're planning your day or just curious about the weather, WeatherApp has got you covered!

Features
Real-Time Weather Data: Get up-to-date weather information for any location.
Multiple Locations: Check the weather for different cities around the world.
Detailed Forecast: View comprehensive weather details such as temperature, humidity, wind speed, and weather conditions.
User-Friendly Interface: Easy to use command-line interface that displays weather data in a clear and concise format.
API Integration: Utilizes a reliable weather API to fetch real-time data.

How to Use
Clone the Repository:
git clone https://github.com/yourusername/weatherapp.git

Install Dependencies:
pip install -r requirements.txt

Set Up API Key:
Sign up for an API key from a weather service provider (e.g., OpenWeatherMap).
Create a file named config.py in the project root directory.
Add your API key to config.py:
API_KEY = 'your_api_key_here'

Run the Application:
python weatherapp.py
Input the Location: When prompted, enter the name of the city or location to get the weather details.

View Raw Data (Optional):
If you need to see the raw data returned by the weather API, you can request it through the application’s interface.

Contributing
We welcome contributions! Feel free to submit a pull request or open an issue to discuss improvements, features, or bugs.

License
This project is licensed under the MIT License. See the LICENSE file for details.