Python Library for Binance DEX, including API, Websocket, JSONRPC
Project description
Binance DEX Python Package
Introudction:
Ways to connect to Binance DEX are:
- REST API
- CLI
- WebSocket
- JSONRPC
This python package will provide all methods available as from binance official document except cli:
- REST API
- CLI
- WebSocket
- JSONRPC
Sample Usage:
from api.client import Client
# create API Client instance
api_client = Client()
# call corresponding methods
print(api_client.get_block_time())
Expected to get results as:
{'status': True, 'result': {'ap_time': '2019-03-06T04:43:48Z', 'block_time': '2019-03-06T04:43:47Z'}}
Note:
This package development just getting started, feel free to join if you have interest
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
binance-dex-0.0.1.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for binance_dex-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a0cda5b55440e05920898cf5a80fea65e71b553c3ff02b2208b3fd460233d93 |
|
MD5 | 524f2df6ace2ceb7a0407d9a238e13af |
|
BLAKE2b-256 | c1a5f16362a4b9366b421216f32c90486edf2f6e301a9232188c2c8268b989ec |