A PHP library for accessing the Trustpilot Business Unit API.
This library was originally developed and open sourced by moneymaxim.
It has subsequently been forked and updated to use Guzzle7
Install using composer:
composer install retrochaos/trustpilot-business-unit-api
$client = new Trustpilot\Api\BusinessUnit\Client($apiKey);
// $client->find($domain): array
// $client->get($businessUnitId): array
// $client->getReviews($businessUnitId): array
// $client->getReviews($businessUnitId, ['perPage' => 5, 'page' => 2]): array