A simple command-line tool that fetches the current weather for any city and displays: - Temperature (°C) - Humidity (%) - Weather condition (e.g., Clear, Cloudy, Rainy)
- No API key required.
- Uses the free Open-Meteo API.
- Works directly in your terminal.
-
Install dependencies:
pip install requests
-
Run the script:
python weather_notifier.py
-
Enter a city name when prompted.
🌤️ Weather Notifier CLI
Enter city name: Mumbai
📍 City: Mumbai
🌡️ Temperature: 30.2°C
💧 Humidity: 72%
🌦️ Condition: Partly cloudy
- Python 3
- Requests library
- Open-Meteo API (no authentication needed)
This project is great for learning about: - Using REST APIs - JSON parsing in Python - Building simple CLI utilities