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
Up to
-d4
for now, I'll put comma seperated coins later, when I have a time. Also I appreciate PRs :)
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.
If you aren't python developer, you can start by this
Donate Ripple to this address:
rNEygqkMv4Vnj8M2eWnYT1TDnV1Sc1X5SN
Tag: 6741151
t1R7hecCF2kfiRVrEtnrUJZr57zKqDKRpvt
Donate Bitcoin to this address:
3AQQg87vY31RPCKRrDrkHQijP9nsVY7mtb
Donate Ethereum to this address:
0xc5b82006d2aba5269d2f8ca6d1dc81d3331c3c02