Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lindar-open/trustpilot-client


https://github.com/lindar-open/trustpilot-client

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

# trustpilot-client

https://documentation-apidocumentation.trustpilot.com/

To import:

```xml

com.lindar
trustpilot-client
1.0.0

```

To use:
- Create an instance of the client
- Get the desired resource (Authentication API, Invitation API, Product Reviews Api, etc.)
- Call the API by passing the necessary authentication credentials alongside the eventual request object

E.g. to send review invitation(s):

new TrustpilotClient().invitation().createInvitations(accessToken, businessUnitId, createInvitationsRequest)

Note: since every API call can have a different authentication method (OAuth2, basic, ApiKey or unauthenticated), authentication credentials are passed alongside each individual API call.