This repository has been archived by the owner. It is now read-only.
crystal-cmc
cmc
A simple CLI app that returns some data on various cryptocurrencies using the CoinMarketCap API.
Setup
Install Dependencies
shards
Create an Executable File
crystal build src/cmc.cr
Configure Environment Variables
Copy the .env.example file
cp .env.example .env
In 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
./cmc
Run with additional info
./cmc -f # same as `./cmc --full`
License
Contributors
- Croccifixio - creator, maintainer
Repository
crystal-cmc
Owner
Statistic
- 2
- 0
- 0
- 0
- 2
- over 3 years ago
- September 30, 2017
License
The Unlicense
Links
Synced at
Mon, 08 Dec 2025 03:50:31 GMT
Languages