Bitcoin Forum
September 25, 2024, 06:36:45 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Need help writing URL to retrieve information from miningpoolhub  (Read 115 times)
mojo_man (OP)
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
May 23, 2018, 02:17:08 AM
 #1

Hi,

I have prepared the following URL to get my worker's hashrate.

https://monero.miningpoolhub.com/index.php?page=api&action=getuserhashrate&api_key=(API KEY)&id=(miner name)

Unfortunately, I get an access denied page.

I have searched for an answer to the problem. All the pages I found indicate an incorrect api_key, but I know mine is correct.

Can someone give some suggestions?

Thanks!
NeuroticFish
Legendary
*
Offline Offline

Activity: 3808
Merit: 6523


Looking for campaign manager? Contact icopress!


View Profile
May 23, 2018, 08:54:49 AM
Last edit: May 23, 2018, 09:13:11 AM by NeuroticFish
 #2

Hi,

I have prepared the following URL to get my worker's hashrate.

https://monero.miningpoolhub.com/index.php?page=api&action=getuserhashrate&api_key=(API KEY)&id=(miner name)

Unfortunately, I get an access denied page.

I have searched for an answer to the problem. All the pages I found indicate an incorrect api_key, but I know mine is correct.

Can someone give some suggestions?

Thanks!

I've done some research for you and some ideas could be:
* urllib may cause problems and curl could solve this
* some calls may work only on https://miningpoolhub.com/index.php?page=api... instead of coin's URL

You can read more about my findings here.

Edit: I made even more tests, but only from browser and my advises are
1. Try without id first, it may work.
2. Try with your user id [dot] worker name.
Both of these attempts have returned a json for me, not the usual "access denied".

███████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████

███████████████████████
.
BC.GAME
▄▄▀▀▀▀▀▀▀▄▄
▄▀▀░▄██▀░▀██▄░▀▀▄
▄▀░▐▀▄░▀░░▀░░▀░▄▀▌░▀▄
▄▀▄█▐░▀▄▀▀▀▀▀▄▀░▌█▄▀▄
▄▀░▀░░█░▄███████▄░█░░▀░▀▄
█░█░▀░█████████████░▀░█░█
█░██░▀█▀▀█▄▄█▀▀█▀░██░█
█░█▀██░█▀▀██▀▀█░██▀█░█
▀▄▀██░░░▀▀▄▌▐▄▀▀░░░██▀▄▀
▀▄▀██░░▄░▀▄█▄▀░▄░░██▀▄▀
▀▄░▀█░▄▄▄░▀░▄▄▄░█▀░▄▀
▀▄▄▀▀███▄███▀▀▄▄▀
██████▄▄▄▄▄▄▄██████
.
..CASINO....SPORTS....RACING..


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
mojo_man (OP)
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
May 23, 2018, 12:35:22 PM
 #3

Hi,

I figured it out.
I needed to put the coin in the URL: monero.miningpoolhub.com and I had to put a numeric value for my ID that is in my account info.

Thanks for your help!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!