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:
Install package:
pip install binance-dex
Easy to Use
from binance_dex.api 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.34.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for binance_dex-0.0.34-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cd495814a11f8d424ec68ac290eedb3d0e6f545cdd9848949adea610d723cd4 |
|
MD5 | 1e30363fffe6a07014215852a1d46091 |
|
BLAKE2b-256 | bb51d0bf56de1e5b825642e175c9e6eb4084b27b6a03bf3e7d308b97242820fd |