A package to query cryptocurrency information
Project description
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
# pings the server
cryptoco-py [OPTIONS] COMMAND [ARGS]...
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cryptoco-py-0.1.7.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for cryptoco_py-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eece9e6354a7cb092239ed1bf9a7cc1de84d88b226f9111d2b0815a725ac9c74 |
|
MD5 | 8b3dd7185344c6777864e88ff2933020 |
|
BLAKE2b-256 | 316731faee8e47e4fb36e78cec836ee1da84d5b1b570d9b747a6233494b69c70 |