Skip to content

Latest commit

 

History

History
66 lines (49 loc) · 1.48 KB

README.md

File metadata and controls

66 lines (49 loc) · 1.48 KB

CryptoCo-py

CryptoCo-py is a Python CLI application that uses CoinGecko API to allow the user to query cryptocurrency information by typing simple commands.

Table of contents

Installation

Use the package manager pip to install cryptoco-py.

pip install cryptoco-py

Requirements

Name Version
Python 3.6 +
Typer 0.4.0 +
Requests 2.26.0 +

Usage

cryptoco-py [OPTIONS] COMMAND [ARGS]...
# pings the server
cryptoco-py ping

NOTE: you might not be able to run the command instantly after installing it to solve this problem simply add the directory of the installed package to $PATH

# returns a help message
cryptoco-py --help

you can also write the output to an output file for example:

cryptoco-py sprice bitcoin > output.txt

cat output.txt
# output:
{
  "bitcoin": {
    "usd": 48338
  }
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT