Skip to content

Weather CLI is a simple command-line tool to get real-time weather information using the WeatherAPI. The project allows you to configure an API Key and select a language for data display.

License

Notifications You must be signed in to change notification settings

k4ik/weather-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⛅ Weather CLI

Weather CLI is a simple command-line tool to get real-time weather information using the WeatherAPI. The project allows you to configure an API Key and select a language for data display.

🚀 Installation

1️⃣ Clone the repository:

git clone https://github.com/k4ik/weather-cli.git
cd weather-cli

2️⃣ Create a virtual environment (optional but recommended):

python3 -m venv venv
source venv/bin/activate  # Linux/Mac
venv\Scripts\activate  # Windows

3️⃣ Install dependencies:

pip install -e .

⚙️ Configuration

1️⃣ Set up API Key and language:

weather-config

🌦️ How to Use

1️⃣ Get weather forecast for a city:

weather [city]

Example:

weather "New York"
weather Tokyo

🌍 Available languages

  • 🇺🇸 English (en)
  • 🇧🇷 Portuguese (pt)
  • 🇪🇸 Spanish (es)
  • 🇫🇷 Français (fr)
  • 🇩🇪 Deutsch (de)
  • 🇮🇹 Italian (it)
  • 🇷🇺 Русский (ru)
  • 🇨🇳 中文 (zh)
  • 🇯🇵 日本語 (ja)
  • 🇵🇱 Polski (pl)
  • 🇷🇴 Română (ro)
  • 🇸🇦 العربية (ar)

📋 Requirements

📜 License

This project is licensed under the MIT License.

About

Weather CLI is a simple command-line tool to get real-time weather information using the WeatherAPI. The project allows you to configure an API Key and select a language for data display.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages