A Python application to retrieve and display current weather conditions and forecasts.
- Retrieves current weather conditions, including temperature, humidity, wind speed, and more
- Displays weather forecasts for the next few days
- Supports multiple locations and units (Celsius/Fahrenheit)
- Python 3.8 or later
requests
library for API callsjson
library for parsing API responses
- Clone the repository:
git clone https://github.com/pradeep-lit/realtime-weather.git
- Install the required libraries
- Run the application:
python weather.py
- Run the application with the location:
python weather.py n
This application uses the weatherapi.com API to retrieve weather data. You'll need to obtain an API key from WeatherAPI and add it to the key
variable in the weather.py
file.
Contributions are welcome! If you'd like to add new features or fix bugs, please submit a pull request.
[Pradeep Chauhan]
- WeatherAPI API for providing weather data
- Python libraries and communities for making development easier
I hope this helps! Let me know if you need any modifications or have any questions.