A Developers Blog: LiveEngage - Connecting To The Engagement History API In Python Example

This blog has moved to GitHub, and you should be redirected shortly...

Sunday, January 3, 2016

LiveEngage - Connecting To The Engagement History API In Python Example

Hi Everyone. In a previous post, I showed you how to connect to the Engagement History API by using Java.  In case you missed the previous post, the Engagement History API is a REST API that is available from LivePerson. This API allows you to access your transcript data without having to go in and manually export them.

Here is a link to the previous post in case you missed it: Java Engagement History API Tutorial

Today, I wanted to share with you some sample code that will allow you to connect to the API in Python. Basically, the code uses the requests and requests_oauthlib libraries to connect to the API, and then it prints the response to the console.

Here is the code sample:

I hope you enjoyed this post. If you have any questions or comments, please feel free to post them below.

Labels: , , , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home