- The command line interface for getting the exchange rates for Bitcoin
- The line interface uses the simple API provided by coindesk.com for Bitcoin Price Index for various countries
- [Updated] Has now feature of historical price of Bitcoin for any currencies; but the limit is only 16 days
You need a python3 virtual environment: virtualenv
Installing
virtualenv:sudo pip install virtualenvvirtualenv venv --python=python3. venv/bin/activateClone the repository via
git clone https://github.com/spaceVStab/bitcoin-cli.git.cd bitcoin-clipip3 install .Simply run
bitoin-clito display the USD exchange ratesYou have to add
--currency inrfor to display INR exchange rates and similarly other countries ratesYou can run
bitcoin-cli --show_countryfor displaying the supported country listRun
bitcoin-cli --date 10for displaying past 10 days Bitcoin Price in default USDCan be used with virtual environment only till now. Further contribution can be done.
Further history for bitcoin can be added, different exchange points can also be used, other crypto-currency can be done.