Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.11 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.11 KB

weather-APP-using-API

A simple weather application built using Tkinter and various APIs to fetch and display current weather information for a specified city. The app includes a loading animation while fetching data.

Features

  • Fetch current weather data based on city name
  • Display temperature, weather condition, wind speed, humidity, description, and pressure
  • Show local time of the city
  • Loading animation while fetching data

Installation

Prerequisites

  • Python 3.x
  • pip (Python package installer)

Clone the Repository

git clone https://github.com/your-username/weather-app.git cd weather-app Required API Keys

OpenWeatherMap API Key: Sign up at OpenWeatherMap to get your API key.
Geopy API Key: No API key is required for Geopy by default.

Configuration

Replace the placeholder API key in the weatherAPP.py file with your actual OpenWeatherMap API key:API_KEY = "your_openweathermap_api_key" Usage

Run the application using the following command:python weatherAPP.py

Loading Animation

Ensure that the spin.gif file is located in the same directory as the weatherAPP.py file.