Skip to content

dor-a/WeatherApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Global Weather Tracker: Real-Time Weather Data App

Introduction

https://lake-lobster-5aa.notion.site/Weather-API-Task-08c038c956bd4e8cb7b41656929b5a97?pvs=4

Global Weather Tracker is a Python-based application designed to fetch real-time weather data from various global locations. Leveraging the Weather API, this app provides up-to-the-minute temperature updates for a selection of countries, making it an invaluable tool for travelers, researchers, and weather enthusiasts.

Technologies Used

  • Python
  • Requests Library
  • GeonamesCache
  • dotenv for environment variable management
  • Weather API

Features

  • Fetches real-time weather data for five randomly chosen countries.
  • Uses the Weather API to retrieve current temperatures and other weather details.
  • Custom logging system for tracking and debugging.
  • Easy configuration through environment variables.
  • Works on any os system, include docker , k8s .

Setup and Installation

To run this application on your local machine, follow these steps:

  1. Create a user and obtain API Key from :(https://www.weatherapi.com/)
  2. Clone the repository: git clone [repo-link]
  3. Install required Python packages: pip install -r requirements.txt
  4. Set up your .env file with your API_KEY=12345678910
  5. Run the application: python app.py

Usage

Run the application using the command python app.py. The app will automatically update weather information every 5 minutes and log the data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages