CryptoMarket API client library
Project description
CryptoMarket
The official Python library for the CryptoMarket API v1.
Installation
To install Cryptomarket, simply use pip:
pip install cryptomarket
Documentation
The first things you'll need to do is sign up with CryptoMarket.
API Key + Secret
If you're writing code for your own CryptoMarket account, enable an API key.
Next, create a Client object for interacting with the API:
from cryptomarket.exchange.client import Client
client = Client(api_key, api_secret)
Usage
Public endpoints
Get markets
client.get_markets()
Get ticker
client.get_ticker(market="ETHCLP")
Get book
client.get_book(market="ETHCLP", type="buy")
client.get_book(market="ETHCLP", type="sell")
Get trades
client.get_trades(market="ETHCLP")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cryptomarket-0.0.5.tar.gz
(7.3 kB
view hashes)
Built Distributions
Close
Hashes for cryptomarket-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e11f943b8110b415dba43f5ff581037970677ae774113a55cc12bad56d3661e |
|
MD5 | 7f21330153179889f544fe28753946a4 |
|
BLAKE2b-256 | 4ac116a317ae10323d62884b314e2bd77a2877658b78b0a8eeb8ca891578b802 |
Close
Hashes for cryptomarket-0.0.5-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 198e76672b5a7153a7ba1f6bc02b62c2fd0aec4bb71735341ceb45fc25cbf28a |
|
MD5 | cd9eb64ef39437ced0cb1849be618dd6 |
|
BLAKE2b-256 | 8a8d79abf0ef243ca433400b9659ee4e615a93296a901e495c9b0fb1c3c9f1a2 |