EDUCAÇÃO E TECNOLOGIA

Call SAP Conversational AI API Using OAuth from Python

It has been a while since my last post!

This is just a short blog post for your convenience and is based on the following great tutorial: Call SAP Conversational AI API Using OAuth https://developers.sap.com/tutorials/conversational-ai-api-oauth.html. In my case I did not want to use flask and just wanted to provide you the simplest example of how to do the call to SAP Conversational AI API using OAuth from Python.

The code can be found on GitHub here: https://github.com/bjornhenrikzink/python/tree/master/SAP-Conversational-AI

Here is a little sequence diagram to show you the flow:UML%20Sequence%20Diagram

I think this screenshot says more than a thousand words and should be all you need to make the example work:

That’s it. Enjoy!