Skip to content

ionarevamp/clitemp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using this tool requires an account on WeatherAPI.com (basic usage should be free).
Specifically you need:
- a key for either real-time weather or forecast data (I forget which, and I can't access my account right now because life happened),
- a file containing said key named 'WeatherAPI.key' in same directory as the built binary when running it directly,
- and a file named 'zipcode.txt' containing your zip code in the same directory

Additionally, the key and zip code can be overwritten with the -k/--key and -z/--zip options, respectively

The easiest way to install it is to:
run `git clone https://www.github.com/ionarevamp/clitemp && cd clitemp` (Requires git)
run `cargo install --path .` (Requires a rust install) , and
copy/move 'WeatherAPI.key' and 'zipcode.txt' to $CARGO_HOME/bin (~/.cargo/bin by default).

Do note that there a limit to how many requests can be made to the website per month or so, and it only updates once every hour anyway if I recall correctly so there's not much point in spamming requests.

Have fun

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages