Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iabdullah215/weather-application
https://github.com/iabdullah215/weather-application
api python weather-api weather-app
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/iabdullah215/weather-application
- Owner: iabdullah215
- Created: 2024-03-13T09:42:44.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-13T09:45:24.000Z (11 months ago)
- Last Synced: 2024-11-07T23:42:32.010Z (3 months ago)
- Topics: api, python, weather-api, weather-app
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather-Application
The provided Python code implements a weather forecast application using the `OpenWeatherMap API` and `tkinter` library for creating a GUI. It consists of functions to fetch weather data `get_weather()` and display it `display_weather()`, along with a function to handle user interactions `get_weather_forecast()`. The GUI setup involves creating widgets for user input `city name` and a button to trigger the weather forecast retrieval. The application prompts users to enter a city name and upon clicking the button, fetches weather data from the API, displaying it in a message box. An error message is shown if the city is not found.