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.2 (2020-10-29)
- fix setup problem.
1.0.1 (2020-10-29)
- Update readme.
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
File details
Details for the file btc_top_pool_api_sdk-1.0.2.tar.gz.
File metadata
- Download URL: btc_top_pool_api_sdk-1.0.2.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e74fedfaa8715461e9d075c94efb7f4075283b4ab801ceb1d5b8b05a313bc411
|
|
| MD5 |
3a257f9f9690bd46b6fcb12ebba7d826
|
|
| BLAKE2b-256 |
59b25d10980c26ae85213e2c2fbfd9edccc6eed9b013d6d19699f65b8799438b
|