Crates.io | kraken-price |
lib.rs | kraken-price |
version | 0.2.0 |
source | src |
created_at | 2019-04-13 14:10:21.007248 |
updated_at | 2019-04-13 14:10:21.007248 |
description | A cli tool to query Kraken for the latest btc-usd price. |
homepage | https://github.com/thunder-B/kraken-price |
repository | https://github.com/thunder-B/kraken-price |
max_upload_size | |
id | 127662 |
size | 12,379 |
A Rust cli tool to query Kraken's current btc-usd price, with doge added as a bonus. Other coins beware.
kraken-price btc
kraken-price doge
kraken-price --help
Kraken-price is written in Rust, so you'll need to grab a Rust installation in order to compile it. Once you have Rust installed on your computer, you can easily use the tool by compiling the binaries yourself like so;
cargo build --release
;usr/local/bin
);kraken-price
in your command line, or rename the file your preferred command if you wish to use a different one.git clone https://github.com/thunder-B/kraken-price
cd kraken-price
cargo build --release
cd ./target/release/bin/
cp ./kraken-price /usr/local/bin/ # MacOS and Linux
# test it out!
kraken-price dentacoin
The binary crate is also released on crates.io, which means you can install it directly from cargo (note that the binaries will then be built in release mode and put into your ~/.cargo/bin/
directory);
cargo install kraken-price
The zipped binaries for all 3 main operating systems are also downloadable from the releases page of the project's github repository.