Access Etherium related mining data in the Ethermine mining pool.
All publicly available Ethermine API endpoints are wrapped. All endpoints return dicts containing the API data or None if response status code was not 200. Check the tests or API documentation to see all available fields.
Install via PIP:
pip install ethermine
from ethermine import Ethermine
ethermine = Ethermine()
stats = ethermine.pool_stats()
history = ethermine.blocks_history()
stats = ethermine.network_stats()
history = ethermine.server_history()
dashboard = ethermine.miner_dashboard("address")
history = ethermine.miner_history("address")
payouts = ethermine.miner_payouts("address")
rounds = ethermine.miner_rounds("address")
settings = ethermine.miner_settings("address")
stats = ethermine.miner_current_stats("address")
workers = ethermine.miner_workers("address")
history = ethermine.miner_worker("address", "worker")
stats = ethermine.miner_worker_current_stats("address", "worker")
monitors = ethermine.miner_worker_monitor("address", "worker")
PR's are welcome - especially should the API change. Please also add tests - the tests should always represent the current state of the API including all fields.
To build a distributable package run:
python setup.py sdist