Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nickderobertis/cryptocompare-py
A Python SDK for the Cryptocompare API with API Keys
https://github.com/nickderobertis/cryptocompare-py
Last synced: 10 days ago
JSON representation
A Python SDK for the Cryptocompare API with API Keys
- Host: GitHub
- URL: https://github.com/nickderobertis/cryptocompare-py
- Owner: nickderobertis
- License: mit
- Created: 2019-10-14T18:06:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-26T21:39:34.000Z (about 2 years ago)
- Last Synced: 2024-12-25T00:17:39.309Z (about 1 month ago)
- Language: Python
- Size: 3.77 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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:
```python
import cryptocompsdkfrom 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.](https://nickderobertis.github.io/cryptocompare-py/)## Author
Created by Nick DeRobertis. MIT License.