luke.rodham 9ec195c09f Updates.
Updated the review transformer to collect the author and removed setters as they are pointless here.
Added new methods to the reviews controller and some sensible logic, so the API is not hit more than it needs to be.
2016-02-24 09:56:37 +00:00
2016-02-24 09:56:37 +00:00
2016-02-16 16:47:16 +00:00
2016-02-16 16:47:16 +00:00
2016-02-16 16:47:16 +00:00
2016-02-17 08:52:13 +00:00

trustpilot-api-wrapper

Simple wrapper for the trustpilot api.

Currently only supports the api to retreive a companies reviews.

<?php

$dir = dirname(__DIR__);
include $dir . '/vendor/autoload.php';
   
$trustPilot = new \LukeRodham\TrustPilot\TrustPilot($apikey = '');
$reviews    = $trustPilot->reviews()->latest(['language' => 'en']);
Description
Simple wrapper for the trustpilot api.
Readme 36 KiB
Languages
PHP 100%