https://github.com/mohamedasad10/weatherapp
https://github.com/mohamedasad10/weatherapp
api python weather-api
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mohamedasad10/weatherapp
- Owner: mohamedasad10
- Created: 2024-07-31T22:20:12.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-08-01T22:00:29.000Z (9 months ago)
- Last Synced: 2025-01-13T08:12:54.958Z (3 months ago)
- Topics: api, python, weather-api
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.gitInstall Dependencies:
pip install -r requirements.txtSet 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.