#weather #cli #api-key #client #tool #uk #weatherstack

bin+lib umbrella

A simple weather client and CLI tool for the WeatherStack API

2 unstable releases

0.2.0 Jan 3, 2025
0.1.0 Dec 4, 2024

#2305 in Command line utilities

MIT/Apache

25KB
183 lines

Crate Docs CI Audit Maintenance

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–17MB
~215K SLoC