2 unstable releases
new 0.2.0 | Jan 3, 2025 |
---|---|
0.1.0 | Dec 4, 2024 |
#1981 in Command line utilities
144 downloads per month
25KB
183 lines
umbrella
A simple weather reporting tool in Rust, using the Weatherstack API.
Installation
cargo install umbrella
Usage
First, create a Weatherstack account, and obtain your API key.
export WEATHERSTACK_API_KEY=xxx
umbrella London,UK
Sunny 4.0ºC (London, United Kingdom)
Units
To report temperature in Fahrenheit, use the --fahrenheit
(or -f
) flag:
umbrella --fahrenheit Los Angeles, USA
Fog 50.0ºF (Los Angeles, United States of America)
lib.rs
:
Client library for the Weatherstack API.
Dependencies
~5–16MB
~214K SLoC