Skip to content

kevalthakarar/CryptoPrice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CryptoPrice

Command line in nodejs to check the price of CryptCurrnecy in any currency format


Steps TO Follow -


  1. git clone and npm install all package
  2. running npm link command

Now terminal can identify coindex

  1. coindex -V      for version
  2. coindex -h      for help

Setting key for API

  1. coindex key set      setting nomics API key
  2. coindex key show      Show API key
  3. coindex key remove      for removing API key

Fetch Price of CryptoCurrency


command
coindex check price --coin=BTC,ETH --cur=INR 
ANS :
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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published