Skip to content

Add Weather CLI App using OpenWeatherMap API #369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SawyerWetson
Copy link

Hi there! 👋

This pull request adds a new mini project called Weather CLI App to the collection.

🔍 What it does:
This Python app lets users check the weather by typing a city name in the terminal. It connects to the OpenWeatherMap API and shows:

  • ☁️ Current weather condition
  • 🌡️ Temperature and how it feels
  • 💧 Humidity
  • 💨 Wind speed

Why it's useful:
This is a beginner-friendly project that teaches how to:

  • Use APIs with Python (requests)
  • Handle JSON data
  • Build a simple, interactive command-line tool

📁 Folder structure:
Weather_CLI_App/
├── weather_cli.py # Main Python script
└── README.md # Project instructions and details

🛡️ Security Note:
The API key is not included in the code. The user should set their own key using an environment variable or manually add it during testing.


Let me know if there's anything you’d like improved or changed!

Thanks for the awesome repository — it inspired me to build this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant