Skip to main content

Huobi Pool api lib for easy work with huobi

Project description

HuobiPoolApi

Official Documentation

Github repository

Get user accounts list

from huobi_api.client import Client
cl = Client(access_api_key='knt3juterjg45', secret_key='fdwr42rwefsw3r1')
cl.get_accounts()

Withdraw from huobi pool Btc in hrc20btc chain

from huobi_api.client import Client
cl = Client(access_api_key='knt3juterjg45', secret_key='fdwr42rwefsw3r1')
response = cl.chains_information(currency='btc')
data = response['data']
for x in data:
    for y in x["chains"]:
        if y["chain"] == "hrc20btc":
            fee = y["transactFeeWithdraw"]
cl.withdraw(address='0xr32rhdf234rfi3', currency='btc', amount='0.0321', fee=fee)

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

HuobiPoolApi-0.0.6.tar.gz (6.0 kB view details)

Uploaded Source

File details

Details for the file HuobiPoolApi-0.0.6.tar.gz.

File metadata

  • Download URL: HuobiPoolApi-0.0.6.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/21.8.0 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

File hashes

Hashes for HuobiPoolApi-0.0.6.tar.gz
Algorithm Hash digest
SHA256 6bd71833673ff04f381e699018fb08b08f273395c6fb6420ce3bd52872dec25d
MD5 88c7feb4bb437a4ad41abccf09ebe2fd
BLAKE2b-256 ee32c9094f4f037c769a6dc107140846c71a0ea3b4ba62ad72210de6bdf56e02

See more details on using hashes here.

Supported by

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