A PHP library for accessing the Trustpilot Business Unit API.
This library has been developed and open sourced by moneymaxim.
We are currently on the look out for PHP programming talent, so please get in touch if you are interested.
Install using composer:
composer install moneymaxim/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