Python to interac with Nicehash API v2
Project description
pynicehash
feature
For now pynicehash support only rig management, get and set mining rig state.
usage
nh = pynicehash.NiceHash(api_url, organisation_id, api_key, api_secret)
rigs = nh.get_rigs()
for rig in rigs:
print (rig.name)
for device in rig.devices:
print (device.name)
When creating the NiceHash object you have to pass your connection credential.
-
api_url you have two choice: https://api-test.nicehash.com for testing, in testing you probably will not have any mining rig. https://api2.nicehash.com for production
-
organisation_id The organisation_id is the the id you can find in you page where you create you api key.
-
api_key
-
api_secret
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
pynicehash-0.0.5.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for pynicehash-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 325e2a7c7ba5c2be2af4842172c4f334994eb5060a5e24776bbeffaf19a4d4ed |
|
MD5 | d8f859e3b6f3032e8ec458b0b116f8fe |
|
BLAKE2b-256 | 758cdaa50ff5a09700b11a4bcecbdb176d75ced08ab984129eb90bb0990f3643 |