Not sure about recommended way, but Swagger above uses methods from blockchain directly as they are available, only we run small proxy to format those APIs so it could be accessed right within browser (GET ops). And yes, I think it would be really beneficial to have them inside devportal next to curl
examples, test right on browser (for users without terminal or chromebook, etc. systems)
You are viewing a single comment's thread from:
I believe the curl examples would be simple enough to add. But I was thinking a way to directly link to a specific method would be helpful. I can see a pattern, for example, if I know the namespace is
rc_api
and the method isget_find_rc_accounts
, I can guess the direct link is:https://hive.hivesigner.com/#!/RC32Api/get_find_rc_accounts
Do you think that would be sufficient? The only problem is, if I know the namespace is
database_api
and the method islist_proposal_votes
, the direct link in this case doesn't work:https://hive.hivesigner.com/#!/Database32Api/list_proposal_votes
Is there a way to do a lookup so I can ensure the link would work beforehand? Then I can skip the ones that do not. It seems like I could inspect
https://hive.hivesigner.com/swagger.json
for the methods, but I'm not sure.Some APIs need retesting and addition, correction to swagger.json.
list_proposal_votes and some other new methods are missing
Oh but you were referring to linking hive.hivesigner.com, I was thinking of direct linking from here:
Hello
I used the Hive API to get blockchain information and I need 26 million block information. When I apply, it's very time consuming. Can you help me how to use the Hive API?
Hi,
What specific data interests you? You can of course pull all data one by one from all blocks, but you can also use some specific calls to get certain type of data. Have you checked https://developers.hive.io for more documentations?
I want to work on my DPOS consensus algorithm for my master's thesis, and to examine this decentralization in this system. To do this, I need the information of all the blocks, and I also used the hive API. It's very time consuming and I also checked https://developers.hive.io in full. Please help me how to get block information quickly.
Check out @gtg's Hive/Steem pressure series: https://hive.blog/hive-160391/@gtg/steem-pressure-8-power-up-your-dapp-rethinkdb-kiss-my-asap
Most of the information is available in Hivemind, you will have to setup instance on your local machine (python + postgresql).
Can you help me how to set up (python + postgresql) on my local machine?