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

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-coinmarketcap-client-1.0.0.tar.gz (7.0 kB view hashes)

Uploaded Source

Built Distribution

py_coinmarketcap_client-1.0.0-py3-none-any.whl (7.2 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