This is a simple weather forecasting application that fetches real-time weather data using Tomorrow.io API based on the user's entered location.
- Python 3.7 or higher
- Tkinter GUI framework
requests
library- Tomorrow.io API key
-
Clone the repository:
git clone https://github.com/MMansy19/WeatherApp.git
-
Install required dependencies:
pip install requests
-
Open WeatherApp.py in a text editor and replace "HD01H1K4Agc76RPKAs6gRUvKZqaZ0kll" with your Tomorrow.io API key.
- Retrieves weather data including temperature, humidity, wind speed, pressure, and precipitation.
- Clean and intuitive GUI design.
- Error handling for user input and API requests.
-
Run the application:
python weather_app.py
-
Enter the desired location in the provided input field.
-
Click the "Search" button to retrieve the weather forecast for the specified location.
-
The app will display the temperature, humidity, wind speed, pressure, and precipitation information.
-
Run the application:
python WeatherApp.py
-
Enter a location in the provided entry field and click the "Search" button to get weather information.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.