-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
16 lines (12 loc) · 1.01 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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