Skip to content

Latest commit

 

History

History

check_weather

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

City Weather

Get The Weather Of Your City using Python CLI.

Pre-Requisites

Instructions

  • Run the command pip install -r requirements.txt to install the required dependencies.

  • Create a .env file at the check_weather root directory and add the line

OPEN_WEATHER_API_KEY = {YOUR-OPEN-WEATHER-API-KEY-GOES-HERE}

  • Run the program with command-line arguments

python check_weather.py {city_name} or python check_weather {city_name}

depending on your system to get the weather details of that particular city.