Navigation Menu

Skip to content

concongo/pynanopoolapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nanopool Mining Pool API Wrapper

An easy way to monitor access the Nanopool Mining Pool API with Python

Compatible with Python 2.7 >+

Install

pip install pynanopoolapi

Usage

Create API Object

from pynanopoolapi import nanopoolapi

data = nanopoolapi(<wallet>,<coin>)

Methods available

getbalance() --> Returns current Balances

getaveragehashratelimited(hours) --> Returns the average hash rate for the a specific period of time measure in hours

getaveragehashrate() --> Returns the average hashrate for 1, 3, 6, 12, 24

hashrate() --> Returns the current hashrate

generalinfo() --> Returns the general info of miner

historyhashrate() --> Returns hashrate history

balancehashrate() --> Returns miner current hashrate and account balance

calculator() --> Returns approximated earnings

prices() --> Returns prices

paymenttimeestimate(hours) --> Returns a tuple with the time estimate for the next payment

About

Nanopool API Python Wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages