Skip to content

yuutoa/weather-api-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather API App

A simple Weather API App retrieve and display real-time weather information by city name.

Preview

Preview Image 1


How to Use

  1. Clone the Repository
    git clone https://github.com/yuutoa/weather-api-app.git
    cd weather-api-app
  1. Create and Activate a Virtual Environment
    python -m venv env
    # For Windows
    .\env\Scripts\activate
    # For Linux/Mac
    source env/bin/activate
  1. Install Dependencies
    pip install -r requirements.txt
  1. Create an Account and Get API Key

  2. Add API Key to weather_app.py

    • Open weather_app.py and go to line 120.
    • Replace the line with your API key:
    api_key = 'your_key'
  1. Run the Program
    python weather_app.py
  1. Search for Cities
    • Enter city name to get weather information displayed instantly.

Yuuto Akihiro

About

A simple Weather API App that retrieves and displays real-time weather information by city name.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages