Skip to main content

CoinMarketCap API wrapper

Project description

CoinMarketCap API wrapper

py-coinmarketcap-client-pypi

CoinMarketCap API Doc: https://coinmarketcap.com/api/documentation/v1/

Install

pip install py-coinmarketcap-client

Usage

from coinmarketcap import CoinMarketCap

cmc = CoinMarketCap(key="<your-key-here>", key_type="Basic")
cmc.get_info(id=1)

Testing

virtualenv venv
source ./venv/bin/activate
pip install -r dev_requirements.txt
deactivate
source ./venv/bin/activate
pytest

Supported by

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