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

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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