Skip to main content

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


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 details)

Uploaded Source

Built Distribution

binance_dex-0.0.34-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

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

Hashes for binance_dex-0.0.34.tar.gz
Algorithm Hash digest
SHA256 1b16ee3a0c7f36974aaff30be56f668ced60835d102f56b3ac2601137e984ef4
MD5 7802907a0a8391f32c3ba23d5e2a581f
BLAKE2b-256 387a4b61535fe07cc107e71cefade28004fa0cfc8d44699e017d509b6b06743b

See more details on using hashes here.

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

Hashes for binance_dex-0.0.34-py3-none-any.whl
Algorithm Hash digest
SHA256 5cd495814a11f8d424ec68ac290eedb3d0e6f545cdd9848949adea610d723cd4
MD5 1e30363fffe6a07014215852a1d46091
BLAKE2b-256 bb51d0bf56de1e5b825642e175c9e6eb4084b27b6a03bf3e7d308b97242820fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page