Skip to content

This Flask App accesses Hive OS crypto mining API to pull worker and farm statistics. This repo works with Hive OS API v2.1 and uses two-factor authentication (2FA).

Notifications You must be signed in to change notification settings

kmarinaccio/hive-os-api-v2-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HIVE OS API 2.1 Intregration for Farm and Worker Statistics Reporting

This will run an Flask app to fetch worker stats via HIVE OS API v2.1, instead of manually trying to download this information through the intreface per farm per worker, which is not fun and is a waste of a precious human time.

This is setup to fetch a two factor authenication (2FA) code from the user's registered email with HIVE OS. This currently only works with Gmail account, but I have not tested it with other email providers. You will also need to setup an app password through gmail and enable two-factor authenication (2FA) on your email account as well. Go to Security > App Passwords for more info. 2FA must be enabled first.

How to install on a local computer:

Install Flask and requests package:

install flask

pip install flask flask_caching requests

Move to the Virtual Environment Folder:

cd saltee_rpts

Declare virtual environment:

pip install virtualenv

Activate virtual environment:

python -m venv saltee_rpts

About

This Flask App accesses Hive OS crypto mining API to pull worker and farm statistics. This repo works with Hive OS API v2.1 and uses two-factor authentication (2FA).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages