Skip to content

rsrrrrrr/miningpoolhub_info

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Display your https://miningpoolhub.com information on terminal. Exchanges are from https://www.cryptocompare.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.8%
  • Shell 1.2%