Created
February 12, 2019 07:30
-
-
Save arshbot/64159427044c76160f036d25a4ccb0bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from time import sleep | |
import requests, os | |
import sys | |
url = "https://us-east-api.grinmint.com/v1/user/mining+miner1@thesis.co/dashboard" | |
print("") | |
while(True): | |
sleep(1) | |
response = requests.request("GET", url) | |
response = response.json() | |
for _ in range(200): | |
print("\033[A \033[A") | |
print(""" | |
**, | |
*@&* *&&, | |
(@& *@# | |
.. &@/ /@. | |
.&&./&@&. *&% (@, | |
.@* %@* ,&& /@, | |
.&, .&& #&. *@, | |
@% (&* && %& | |
/& .&% @% ,@& | |
.@. && (&/ @# .%. *@. | |
# *&& .&& && .,#@( ,#% | |
&% ,,,*@# *&,.,,*/(/*. &&. .,,,,,## ,@* | |
,@ ,,,,*@@@* %@@%/. ./@@@&* .,,,,(@@#(@. ,&@ | |
,% ,(@, %@,.&@%. .... /& ,,,#@& /@* ./@/ | |
*&. ,,,%@* &@%.................. ,,*&% ,@. ,@& | |
%@ ,,,*@, .@%....................... ,,&@& ,@, ,#@ | |
.% ,,*@/ ,&(..................&&,..... *&,,*@& (@, ,/@. | |
/&, ,,,,@& %,...................,@@,...... ,,%& (@ ,,@, | |
&& ,,,,@% %,..*#*......#%,.......&@,....... ,,@& #% .,@/ | |
& .,,,%& ....,@@%......#@(.,,...,@@,........ ,,,@% @/ .,@( | |
&* ,,,#& /@@/,@@@(......*@%,&@%../@@......... ,,,@* *&* .,@/ | |
,&..,,,@/ &@@(@@&@*......,@&/@@@,.@@#.......... .,,*&. %@ .,&/ | |
*& ,,,%& @@@@@(&@,.......&@%@#@%*@@........... ,,,@% @* .,@, | |
(%.,,*&, *@*@@@,&@,.......(@@@,@@@&.....*...... ,,,@& (& ,*@. | |
%#,,,&& %&.@@&.#@*.......*@@%.*&%.....#@@,... ,,,@& @/ ,(& | |
%#,,*&/ @%.(@(.,&@........%@/........%@@&.... ,,,(&% && ,&& | |
%#,,&& (#.........................*@@@@(... ,,,%@/ ,@/ (&* | |
/&,,&/ /,........................(*#@&... ,,,*&@ @& ,&& | |
&,/& .&&........................@@@... ,,,,@@ (@ *@* | |
&&(# &@......................%@@%... .,,,,@@, @*,&% | |
&@@* %@*..................(@@@,.. ,,,,*@&. #&%@. | |
.. .@@(,............*@@@#,.. .,,,,/@@* . | |
/@@@@&&%&&@@@@@#,.. ,,,,,#@@%%@% | |
*@/ .*(((/,.. .,,,,,/&@@%/*,,/@# | |
.@@@&&%##&%%%&&@@@@#***,,,,, .*,#@%* | |
*&.,,@% ,&&, | |
/&,,,&% (&, | |
(& ,*@& .#/ &( | |
.&% ,,@# ,,@ @# | |
&/ ,,@# *//*, .,/# @. | |
*&. ,,@& (@@%, .#&% ,,(& & | |
&& ,,@@ *@( ,,,&/ *& | |
&&.,(@# @% ,,,&% &( | |
@&.*@, .@% ,,,*@ *& | |
#&,@& /& .,,,&( /&* | |
%@@ &( ,,,&( ./%&@@&@&%/ | |
*&@@&*/@* #& ,,%# .#@%. .%&/ | |
%&( .(@% *@ .,,./@# ./&* | |
%&. .,,*@@ *& .,#& ,@# | |
&& .,,,,&@# *& .@# .,@% | |
@( ,,,,,,@@ /& ,@ .,@( | |
%( ,,,,,,/@/ ## ,*@* ,,@* | |
,@ .,,,,,,(@. &, ,,%% .,&& | |
#% ,,,,,,,,@* .& ,,,&. ,*@/ | |
@% ,,,,,,,,@& /% ,,,*% ,,&% | |
@% .,,,,,,,#&* %% .,,,/# ,,#& | |
&& ,,,,,,,,&@ @/ ,,,,/% ,,*@ | |
/@ ,,,,,,,,&@. #% ,,,,,&. .,,*& | |
%% .,,,,,,,,@@. *% ,,,,,@, .,,(& | |
#@* .,,,,,,,,&@. &( .,,,,,@, ,,,@/ | |
%% ,,,,,,,,/@&. .@* .,,,,,/& ,,,#& | |
/@( .,,,,,,,*&@%, ./@#. ,,,,,,(* ,,,& | |
,&&. .,,,,,,,,@&**, ,,,,,,. .,,,,,,,,, ,,/@ | |
,/%%&%&%@&&&%/*. %@( .,,,,,,,%@#. .,,,,,, ,#@@@@&&@&@@/, ,,%# | |
.%@%, \.....,/##%&%%/*.. %@, .,,,,,,,/&@#. ,,,,,(@%. ,,%, | |
@, .,*@&&* .,**. .,,,,,,,,,/&@@@@%#((/(##(*@& %@@# | |
& ,,, .,,,,,,,,,,,,&( .@% .@, | |
*/,,,&* ......*,/*///((##%&&%&&&&@@&@&@@&@&%&&&@&&@@@@&&* @& .(&. ,,&. (& | |
,**,&&@&%&&&%#/*.. @# .,@# .,,@. #@. | |
(@&%#&@/ .,(&&.*(&@@. | |
./#%&%#%%, *. | |
""") | |
print("Current Cuckatoo31 hashrate " + str(response["statistics"]["current_primary_hashrate"])) | |
print("Average Cuckatoo31 hashrate " + str(response["statistics"]["average_primary_hashrate"])) | |
print("Current Cuckaroo29 hashrate " + str(response["statistics"]["current_secondary_hashrate"])) | |
print("Average Cuckaroo29 hashrate " + str(response["statistics"]["average_secondary_hashrate"])) | |
print("Unpaid Balance " + str(response["statistics"]["unpaid_balance"] * 10 ** -9)) | |
print("Immature Balance " + str(response["statistics"]["immature_balance"] * 10 ** -9)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment