Skip to content
CryptoMarket Python SDK
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cryptomarket
tests
.gitignore
LICENSE
README.md
requirements.txt
setup.py

README.md

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")
You can’t perform that action at this time.