crypto-fiat-coingecko
v1.0.3
Published
Get exchange rates from the terminal.
Downloads
8
Maintainers
Readme
installation
npm install -g crypto-fiat-coingecko
token symbol (API id)
get 1 token price in usd
crypto-fiat-coingecko --tokens="ethereum"
# 1 ETH = 1938.54 USD
get multiple token prices in usd
crypto-fiat-coingecko --tokens="bitcoin, ethereum, matic-network"
# 1 ETH = 1938.54 USD
# 1 MATIC = 0.812917 USD
# 1 BTC = 30339 USD
1 BTC = ? ETH
crypto-fiat-coingecko --tokens="bitcoin:eth"
# 1 BTC = 15.65162 ETH
1 ETH = ? EUR
crypto-fiat-coingecko --tokens="ethereum:eur"
# 1 ETH = 1724.9 EUR