Skip to content

About

No description, website, or topics provided.

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

Weather CLI

A simple command-line tool written in Rust to fetch and display the current weather for a given city using the OpenWeatherMap API.

Features

  • Fetches current temperature, conditions, and humidity.
  • Asynchronous requests using tokio and reqwest.
  • JSON parsing with serde.
  • Professional CLI interface powered by clap.

How to Run

  1. Clone the repository.
  2. Get a free API key from OpenWeatherMap.
  3. Create a .env file in the project root and add your API key: API_KEY=your_key_here
  4. Run the application:
    cargo run -- <CITY_NAME>

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages