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_KEY
to your CoinMarketCap API key. - Set
TOKENS
to 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
- about 2 years ago
- September 30, 2017
License
The Unlicense
Links
Synced at
Thu, 07 Nov 2024 22:07:46 GMT
Languages