WeatherBot is a simple Python application that fetches and displays current weather information for a given city using the WeatherAPI.
This is my first Python project as I'm learning programming. I created this application to practice my skills and learn about Python, GUI development, API integration, and basic error handling.
- Fetch real-time weather data for any city
- Display temperature and weather description
- Simple and intuitive user interface
- Clone this repository:
git clone https://github.com/ckakgun/PythonWeatherGUI.git - Install required packages:
pip install -r requirements.txt
- Get an API key from WeatherAPI and set it as an environment variable:
Run the application by opening and running the Jupyter notebook:
jupyter notebook WeatherBot.ipynb
Enter a city name and press Enter or click "Get Weather Report" to fetch weather data.
As a beginner in Python and programming, I've learned a lot through this project, including:
- Working with tkinter for creating GUI applications
- Making API requests and handling responses
- Basic error handling and user input validation
- Code organization and structure