Skip to content

Simple Python CLI app to get current temperature of a city

Notifications You must be signed in to change notification settings

gabrielzepeda1/python-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌤️ Simple Python Weather App

This is a command-line Python app that fetches the current temperature for any city using the Open-Meteo API. It uses a geocoding step to convert city names into latitude/longitude coordinates and then retrieves the weather.

🚀 Features

  • Prompt the user to enter a city name
  • Geocode the city to get coordinates
  • Fetch current temperature data in Celsius
  • Display results in a friendly message

🧰 Requirements

  • Python 3.7+
  • requests library

You can install dependencies with:

pip install requests

About

Simple Python CLI app to get current temperature of a city

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages