https://github.com/psqnt/coincap-client
Python Rest API wrapper functions for https://coincap.io/
https://github.com/psqnt/coincap-client
api-client api-wrapper bitcoin cryptocurrency exchange-data market-data python
Last synced: 26 days ago
JSON representation
Python Rest API wrapper functions for https://coincap.io/
- Host: GitHub
- URL: https://github.com/psqnt/coincap-client
- Owner: psqnt
- License: unlicense
- Created: 2019-10-31T01:50:50.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:48:05.000Z (over 3 years ago)
- Last Synced: 2025-01-06T08:29:18.329Z (over 1 year ago)
- Topics: api-client, api-wrapper, bitcoin, cryptocurrency, exchange-data, market-data, python
- Language: Python
- Size: 3.51 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# coincap-client
rest api wrapper for hitting the coincap.io api
API Documentation Here:
https://docs.coincap.io/?version=latest
## Installation
git clone this
## Usage
List of Function calls. Please see api docs for more information
```python
import client
assets = client.get_assets()
btc = client.get_asset('bitcoin')
btc_history = client.get_asset_history('bitcoin')
btc_markets = client.get_asset_markets('bitcoin')
rates = client.get_rates()
btc_rates = client.get_rate('bitcoin')
exchanges = client.get_exchanges()
kraken = client.get_exchange('kraken')
markets = client.get_markets()
btc_usd_candles = client.get_candles('kraken', 'd1', 'bitcoin', 'united-states-dollar')
```
## TODO
[] implement optional args on some api calls
[] json dictionary dump helper function
[] could build out functionality to be a full client, etc