Python Client to interact with the Namebase Exchange API
Project description
Namebase Exchange Api for Python
Python 3.6+ client for interacting with Namebase Exchange API.
Usage
All requests require an API key. You can generate a key from https://www.namebase.io/pro.
At the time of writing, all documented API keys are supported. This may change at any time. See the raw API documentation calls: https://github.com/namebasehq/exchange-api-documentation/
On top of the raw APIs, we also provide the convenience functions:
- market_buy: Market Buy
- market_sell: Market Sell
- limit_buy: Limit Buy
- limit_sell: Limit Sell
Installation
Requirements
- Python 3.6 or greater
Install
pip install namebase_exchange
Usage
from namebase_exchange.exchange import *
exchange = Exchange(YOUR_API_KEY, YOUR_SECRET_KEY)
exchange.get_depth(Symbol.HNSBTC)
exchange.market_sell(Symbol.HNSBTC, 500)
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
Built Distribution
Hashes for namebase-exchange-0.0.4a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f2ec3e8e3b0d69bbe774b61fc9a11cc839bbf7ab199a88155f1155c77867eaa |
|
MD5 | ec3bf312a347663d95d1ecb52421661b |
|
BLAKE2b-256 | 5430c8eb76c4e32a25ce42174833a66c3c8c55e7a2eff5099b58ebc6b02b19ac |
Hashes for namebase_exchange-0.0.4a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 660cd4beaa465e20f48cfc147d38322b91f8205fd94e9c537eb11d0b61e3ce42 |
|
MD5 | 0fc53ae9b4c88cae78ec78d335b1f639 |
|
BLAKE2b-256 | 0a7f5e6676f841a1ac1cceaf585a7525ccf34d267d0939888d16ea69ae9dcabe |