Get live Crypto Currency prices in the terminal with the quickness
If you have a version of golang >= 16.X you can install with
go install github.com/mr-pmillz/coinmon-go@latest
If using an older version of golang
go get github.com/mr-pmillz/coinmon-go@latest
To build from source, clone the repo and run
go build
- Create a Free API Key
- add it as an env var (config file support coming soon)
COINMARKETCAP_API_KEY=foo-bar-baz
Reason for switching is the data is more accurate than the coincap api and cmc api has more rich functionality. If you don't add the COINMARKETCAP_API_KEY to your env vars, coin prices wont show.
./coinmon-go -h
Options:
-h, --help display help information
-t, --top[=10] Amount of coins to show data for, Default is top 10, If -f|--find flag supplied, -t|--top is ignored
- Get Top 20 Coins
./coinmon-go -t 20
- By default,
./coinmon-go
with no arguments will just return the top 10 coins by market cap