Pool OpenAPI SDK.
Project description
pool open api sdk
setup
- download sdk code package:
git clone https://github.com/btc-top/pool-api-sdk-python3.git
- enter directory:
cd pool-api-sdk-python3
- setup package:
python setup.py install
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.
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6afa008391d4b1a16667813a5d788a96db75ee9c7f3d6a6cce25c06a2fb5f25 |
|
MD5 | 04273ee0defec0c43544b995499cde93 |
|
BLAKE2b-256 | 0b16a56998d27659f9bd40d540f21d51089397595c2790ad4094173643d12ef0 |