Skip to main content

Python SDK for CryptoCompare Personal API

Project description

CryptoCompare-Py

Overview

This is a Python SDK for the CryptoCompare APIs which require an API key.

https://min-api.cryptocompare.com/pricing

Getting Started

Install cryptocompsdk:

pip install cryptocompsdk

A simple example:

import cryptocompsdk

from cryptocompsdk import CryptoCompare
API_KEY = 'my-api-key'
cc = CryptoCompare(API_KEY)

data = cc.history.get(from_symbol='BTC', to_symbol='USD', exchange='Kraken')
df = data.to_df()

Links

See the documentation here.

Author

Created by Nick DeRobertis. MIT 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

cryptocompsdk-0.4.4.tar.gz (29.5 kB view hashes)

Uploaded source

Built Distribution

cryptocompsdk-0.4.4-py3-none-any.whl (40.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page