Coingecko API wrapper
Project description
CoinGecko API wrapper
CoinGecko Doc: https://www.coingecko.com/en/api/documentation
Install
pip install py-coingecko-client
Usage
from coingecko import CoinGecko
cg = CoinGecko()
cg.get_simple_price(ids=["bitcoin"], vs_currencies=["usd"])
Testing
virtualenv venv
source ./venv/bin/activate
pip install -r dev_requirements.txt
deactivate
source ./venv/bin/activate
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file py-coingecko-client-1.0.0.tar.gz
.
File metadata
- Download URL: py-coingecko-client-1.0.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2caa3588b2dd73a70170c39c13c32c26137f9d75a15a977f5dd761ad44d5280 |
|
MD5 | f080e2c55d9dd5237cf0096922ae0863 |
|
BLAKE2b-256 | b78934a18fa9e1f506fe085fbaf7eb9f505e644b469a258b5233518dc6f4b425 |
Provenance
File details
Details for the file py_coingecko_client-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: py_coingecko_client-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef218aaa239c550301cfc5a4008da442185fe958a1f44b719f0611f2fcab3b28 |
|
MD5 | b02bcb52222e3d6f420908ae1821a312 |
|
BLAKE2b-256 | 4e886f1a0d244ef4f25e2e3240ff0fef21bfd2da76b0ec6fc3fe167e3253a4cb |