Skip to main content

Coingecko API wrapper

Project description

CoinGecko API wrapper

py-coingecko-client-pypi

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py-coingecko-client-1.0.0.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

py_coingecko_client-1.0.0-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page