ehayik / coindesk-client

CLI Application for displaying the Bitcoin Price Index (BPI) in real-time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoinDesk Client

Quality Gate Status License: GPL v3

CLI Application for watching the Bitcoin Price Index (BPI) in real-time, developed with Spring Shell library.

Banner

How to install

  1. Clone the repository: git clone git@github.com:ehayik/coindesk-client.git
  2. Build project: ./gradlew build

Now you can run it by executing the following command:

./scripts/run-cli.sh 

How to use

btc # display bitcoin price index (USD, EUR, GBP) once.

btc -w 0 # display bitcoin price index (USD, EUR, GBP) once.
btc -w 10s # display bitcoin price index (USD, EUR, GBP), with a 10 seconds refresh rate:
           ## - ns for nanoseconds
           ## - us for microseconds
           ## - ms for milliseconds
           ## - s for seconds
           ## - m for minutes
           ## - h for hours
           ## - d for days
           
stop btc # stop displaying the bitcoin price index.

Credits

I learned a lot from the projects and resources listed below:

About

CLI Application for displaying the Bitcoin Price Index (BPI) in real-time


Languages

Language:Java 98.8%Language:Shell 1.2%