moneymaxim/trustpilot-business-unit-api

PHP integration with the Trustpilot Business Unit API

v0.1.0 2016-01-27 16:06 UTC

This package is not auto-updated.

Last update: 2024-04-13 16:23:55 UTC


README

Latest Stable Version Total Downloads License

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

Install using composer:

composer install moneymaxim/trustpilot-business-unit-api

Usage

$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