Pool OpenAPI SDK.
Project description
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.0 (2020-10-29)
- First release.
1.0.1 (2020-10-29)
- Update readme.
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
Close
Hashes for btc_top_pool_api_sdk-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11e70dc1c06936c4d0a2b954314b80e230fda51ebd7311fd673581a2b5ffb4ac |
|
MD5 | ffe77b509afcf4ba75864aff063e751e |
|
BLAKE2b-256 | 003057893f3eabf8907c066ed309c00e5001b27c182a9bcf66aaad4063e2f399 |