How to enable API access for Minemeld

Reply
L0 Member

How to enable API access for Minemeld

I have been working on syncing a manual localDB miner list via this Python script (https://gist.github.com/jtschichold/95f3906566b18b50cf2e3e1a44f1e785)  When I use it, I get 'Unauthorized' when trying to access /status/minemeld.  If I manually authenticate via browser first then attempt access, it works.  

 

My question is do you have to change a setting to allow API beyond just creating a feed user account?

Tags (1)
Highlighted
L5 Sessionator

Re: How to enable API access for Minemeld

Hi @hbiglin,

 

the localDB miner API uses basic authentication (user:password) and credentials are validated against the list of MineMeld administrators list (not feed user list)

L0 Member

Re: How to enable API access for Minemeld

Thanks!  Now I am able to CURL against it.  Just need to figure out why it won't work via Python.

L7 Applicator

Re: How to enable API access for Minemeld

Hi @hbiglin,

please could share the command line you are using with the script? (redacted to hide confidential details :-))

 

Thanks,

luigi

L3 Networker

Re: How to enable API access for Minemeld

@hbiglin

Please share CURL command or your miner for API Authentication.

 

Thank you.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!