/cryptocli

Python CLI that fetches live cryptocurrency prices

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

CryptoCLI

CI CodeQL Docker Build

Bonjour Software CryptoCLI is a cryptocurrency command-line tool.

Requirements

  • Docker runtime

Usage

  • find cryptocurrency symbols matching a given pattern:
docker run bonjoursoftware/cryptocli find --symbol btc
  • fetch last trade price for a given cryptocurrency symbol:
docker run bonjoursoftware/cryptocli price --symbol BTC-GBP

Tip: prices can be polled at regular intervals with the --ticker argument (in seconds):

docker run bonjoursoftware/cryptocli price --symbol BTC-GBP --ticker 300
  • print manual:
docker run bonjoursoftware/cryptocli --help

Tip: the --help argument also works on subcommands:

docker run bonjoursoftware/cryptocli find --help
docker run bonjoursoftware/cryptocli price --help