- git clone and npm install all package
- running npm link command
Now terminal can identify coindex
- coindex -V for version
- coindex -h for help
Setting key for API
- coindex key set setting nomics API key
- coindex key show Show API key
- coindex key remove for removing API key
command
coindex check price --coin=BTC,ETH --cur=INRANS :
Coin: BTC (Bitcoin) | Price: ₹3,165,202.42 | Rank: 1 Coin: ETH (Ethereum) | Price: ₹215,444.17 | Rank: 2
command
coindex check price --coin=BTC,ETH,USDT,BNB,DOGE,MATIC --cur=USD
ANS :
Coin: BTC (Bitcoin) | Price: $42,000.64 | Rank: 1 Coin: ETH (Ethereum) | Price: $2,858.23 | Rank: 2 Coin: USDT (Tether) | Price: $1.00 | Rank: 3 Coin: BNB (Binance Coin) | Price: $393.25 | Rank: 4 Coin: DOGE (Dogecoin) | Price: $0.15 | Rank: 12 Coin: MATIC (Polygon) | Price: $1.63 | Rank: 16