The Wayback Machine - https://web.archive.org/web/20200916230847/https://github.com/cosmicog/miningpoolhub_info
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

Screenshot

Here is screenshot of output when quiting from continuous one:

python3 display.py -a PASTE_API_KEY_HERE -i PASTE_ID_HERE -n YES -d zcash -d2 ethereum 

Ctrl C

Up to -d4 for now, I'll put comma seperated coins later, when I have a time. Also I appreciate PRs :)

Usage

🐧 Ubuntu 16.04

First, we need to install its dependencies, (if you don't have pip3, do sudo apt install python3-pip):

sudo -H pip3 install colorclass terminaltables

Clone this repository to your home directory or wherever you want:

$ cd ~ && git clone https://github.com/cosmicog/miningpoolhub_info

Go to Mining Pool Hub - Edit Account page and copy your API Key, and ID.

Replace your API Key, User ID, and favourite local currency(EUR, GBP, JPY etc. (TRY below)) in display.sh file:

#!/bin/bash
python3 display.py -a PASTE_YOUR_API_KEY_HERE -f TRY -i PASTE_YOUR_ID_HERE -d PLACE_YOUR_COIN

And run the single one by:

$ ./display.sh

Or run continuous one by (Don't forget to edit file first):

$ ./display_continuously.sh

Here is all options:

$ python3 display_once.py --help
usage: display.py [-h] -a api_key [-i id] [-c crypto_currency]
                  [-f fiat_currency] [-n non_stop] [-d dashboard_coin]
                  [-r reload_time]

MINING POOL HUB Information Gatherer 2018 Orhan Gazi Hafif WTFPL Licence

optional arguments:
  -h, --help          show this help message and exit
  -a api_key          API KEY from 'Edit Account' page.
  -i id               USER ID from 'Edit Account' page
  -c crypto_currency  Which exchange currency to display total in (default
                      BTC).
  -f fiat_currency    Not needed, extra column for displaying other fiat
                      currency total.
  -n non_stop         Not needed, if equals 'YES', run the application
                      continuously, default, in every 2 minutes.
  -d dashboard_coin   For displaying that coin's dashboard info, name must be
                      same at website, for example, for
                      zcash.miningpoolhub.org, it must be zcash.
  -r reload_time      Reload time in seconds.

πŸ’© Windows 10

If you aren't python developer, you can start by this :trollface:


Donations πŸ’΅ πŸ’Ά πŸ’· πŸ’΄

Donate Ripple to this address:

rNEygqkMv4Vnj8M2eWnYT1TDnV1Sc1X5SN

Tag: 6741151

ripple



Donate Zcash to this address:

t1R7hecCF2kfiRVrEtnrUJZr57zKqDKRpvt

zcash



Donate Bitcoin to this address:

3AQQg87vY31RPCKRrDrkHQijP9nsVY7mtb

bitcoin



Donate Ethereum to this address:

0xc5b82006d2aba5269d2f8ca6d1dc81d3331c3c02

ethereum

You can’t perform that action at this time.