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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file binance_dex-0.0.34.tar.gz.
File metadata
- Download URL: binance_dex-0.0.34.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b16ee3a0c7f36974aaff30be56f668ced60835d102f56b3ac2601137e984ef4
|
|
| MD5 |
7802907a0a8391f32c3ba23d5e2a581f
|
|
| BLAKE2b-256 |
387a4b61535fe07cc107e71cefade28004fa0cfc8d44699e017d509b6b06743b
|
File details
Details for the file binance_dex-0.0.34-py3-none-any.whl.
File metadata
- Download URL: binance_dex-0.0.34-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cd495814a11f8d424ec68ac290eedb3d0e6f545cdd9848949adea610d723cd4
|
|
| MD5 |
1e30363fffe6a07014215852a1d46091
|
|
| BLAKE2b-256 |
bb51d0bf56de1e5b825642e175c9e6eb4084b27b6a03bf3e7d308b97242820fd
|