Skip to content

About

Command-line weather app using the Open-Meteo API.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

WeatherCLI

A simple command-line weather app that fetches real-time weather data for any city in the world using the Open-Meteo API.

Requirements

  • Python 3.10 or above
  • requests (pip install requests)

How to use

git clone https://github.com/apathydevil/WeatherCLI
cd WeatherCLI
pip install requests
python main.py

Features

  • Search weather by city name
  • Displays temperature and wind speed
  • Handles invalid cities and network errors gracefully

APIs used

What I learned

I learned how to make API calls using the requests library, parse JSON responses, handle network errors with try/except, and work with nested dictionaries. First project to use real live external data.

About

Command-line weather app using the Open-Meteo API.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages