Using the Python API to connect to Azure Blockchain Workbench

Deleted
Not applicable

Hey guys,

I'd really appreciate some advice connecting to the app as a user. I have created the little "Hello, Blockchain!" example but the API guide, here, seems to be missing necessary bits of code. Fortunately I was able to piece it together such that I can now send requests to the app, but I cannot figure out how to do so as a particular user, so trying to get a list of all applications returns "None", and current user returns as "None".

 

I would really appreciate it if there's a fully-fleshed, working example somewhere that I can learn from.

 

Thanks for reading.

1 Reply

The API is user-centric, meaning you need to authenticate as a given user to see specific apps and actions. How are you authenticating and grabbing the right bearer token? You may find some samples related to APIs here:

https://github.com/Azure-Samples/blockchain/tree/master/blockchain-workbench