Expand description
§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, UKSunny 4.0ºC (London, United Kingdom)§Units
To report temperature in Fahrenheit, use the --fahrenheit (or -f) flag:
umbrella --fahrenheit Los Angeles, USAFog 50.0ºF (Los Angeles, United States of America)Structs§
- Temperature
- The temperature for a given location.
- Weather
- The weather conditions for a given location.
- Weatherstack
- Configuration for the Weatherstack client.