CryptoCo-py is a Python CLI application that uses CoinGecko API to allow the user to query cryptocurrency information by typing simple commands.
Use the package manager pip to install cryptoco-py.
pip install cryptoco-py
Name | Version |
---|---|
Python | 3.6 + |
Typer | 0.4.0 + |
Requests | 2.26.0 + |
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
}
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.