Skip to content

All cryptocurrency price, conversion and market info

License

Notifications You must be signed in to change notification settings

praneshr/crypto-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto Info

A simple CLI tool for crypto conversions, info and market details

CLI

Install

  yarn global add crypto-info

  # or

  npm i crypto-info -g

Usage

$ crypto-info -h

  Usage: crypto-info [options] [command]

  Cryptocurrency converter and market info


  Options:

    -V, --version  output the version number
    -h, --help     output usage information


  Commands:

    convert|c <unit> <symbol> <symbol_2>  Convert fiat to crypto or crypto to fiat or crypto to crypto
    price|p <symbol> [fiat_symbol]        Check price of a cryptocurrency in other cryptocurrency or fiat
    market|m [options] [fiat_symbol]      Cryptocurrency market details

  Examples:

    $ crypto-info convert 30 XRP ETH
    $ crypto-info c 640 XLM INR
    $ crypto-info c 100 USD BTC
    $ crypto-info price ETH
    $ crypto-info p ETH EUR
    $ crypto-info market INR
    $ crypto-info m INR --limit 25 --watch
    $ crypto-info m ETH --only xlm,xrp,btc,ltc

Info

All data are obtained from coinmarketcap . There is a rate limit of 10 requests per minute.

License

MIT