Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1 KB

README.md

File metadata and controls

37 lines (23 loc) · 1 KB

cryptgetp-rust

build

Crypt-Get-P - a just for fun CLI tool to fetch cryptocurrency prices written in Rust.

How to run:

First make sure you have Rust installed. To do this you can follow the instructions found here.

Clone the repo, cd into it and run:

cargo build --release

The pricing data is fetched from coinapi.io, so you'll need to get a free API key from here.

Once you have an API key you can run:

./target/release/cryptgetp fetch --crypto BTC --fiat USD --key <your-key-here>

You get 100 free calls per day with your API key. More info about the API can be found here.

For more info about the CLI tool, run:

./target/release/cryptgetp help

or

./target/release/cryptgetp help fetch