Skip to main content

pool open api sdk

setup

pip install btc-top-pool-api-sdk

usage

example code:

from btc_top_pool_api_sdk import Client


open_api_url='https://test/open-api/'
client_id='xxx'
secret_key='xxxx'
secret_salt='xxxxx'

client = Client(
    url=open_api_url,
    client_id=client_id,
    secret_key=secret_key,
    secret_salt=secret_salt)

result = client.call_api(
    'Speed.GetSubAccountAllWorkersHourlySpeedBulk',
    {'userName': 'test1', 'start': '2020-01-01 00:00:00', 'end': '2020-01-01 23:00:00'})

print(result)

History

1.0.2 (2020-10-29)

  • fix setup problem.

1.0.1 (2020-10-29)

  • Update readme.

1.0.0 (2020-10-29)

  • First release.

Release files for btc-top-pool-api-sdk 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for btc-top-pool-api-sdk 1.0.2
File Size Uploaded
btc_top_pool_api_sdk-1.0.2.tar.gz 2.5 kB Details

Release files / btc_top_pool_api_sdk-1.0.2.tar.gz

Download URL btc_top_pool_api_sdk-1.0.2.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e74fedfaa8715461e9d075c94efb7f4075283b4ab801ceb1d5b8b05a313bc411
BLAKE2b-256 checksum
How to use checksums
59b25d10980c26ae85213e2c2fbfd9edccc6eed9b013d6d19699f65b8799438b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.4

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page