Coder Social home page Coder Social logo

cosmicog / miningpoolhub_info Goto Github PK

View Code? Open in Web Editor NEW
19.0 5.0 5.0 42 KB

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

License: MIT License

Python 98.81% Shell 1.19%
miningpoolhub cryptocurrency cryptocompare-api bitcoin ethereum usd zcash cryptocurrency-mining cryptocurrency-price-ticker mining

miningpoolhub_info's Introduction

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

miningpoolhub_info's People

Contributors

cosmicog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

miningpoolhub_info's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.