Crypt-Get-P - a just for fun CLI tool to fetch cryptocurrency prices written in Go.
Clone the repo, cd into it and run:
go build cryptgetp.go
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:
./cryptgetp fetch --crypto BTC --in USD --key <your-key-here>
You can also run:
go run cryptgetp.go fetch --crypto BTC --in USD --key <your-key-here>
if you'd prefer not to build the application first.
You get 100 free calls per day with your API key. More information about the API can be found here.