cmc
A simple CLI app that returns some data on various cryptocurrencies using the CoinMarketCap API.
Setup
Install Dependencies
shardsCreate an Executable File
crystal build src/cmc.crConfigure Environment Variables
Copy the .env.example file
cp .env.example .envIn the .env file:
- Set
X-CMC_PRO_API_KEYto your CoinMarketCap API key. - Set
TOKENSto the cryptocurrency symbol (as a comma-separated list) whose data should be fetched and displayed. The default value isBTC,ETH.
Usage
Run with basic info
./cmcRun with additional info
./cmc -f # same as `./cmc --full`License
Contributors
- Croccifixio - creator, maintainer