Ok, it just took me quite some time to figure out how to get (private) reviews data from the Trustpilot API using python.
Yes, they have docs:
https://developers.trustpilot.com/
https://developers.trustpilot.com/authentication
But for some reason it's still never right away clear to me how to get an access token, and how to use that access token to get reviews data from the api.
So: can you provide me a clear python starter script, that gets an access token from the Trustpilot api, and then gets reviews data from the api?
Follow the steps below to get the private review data of your company from the Trustpilot API:
There is also a python client from Trustpilot itself: https://github.com/trustpilot/python-trustpilot
You need api key, api secret, username and password for that to work.