2016-02-24 10:00:03 +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-24 10:00:03 +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']);
$starRating = $trustPilot->reviews()->getStarRating();
$numberOfReviews = $trustPilot()->reviews()->getTotalNumberOfReviews();
$trustScore = $trustPilot()->reviews()->getTrustScore();
Description
Simple wrapper for the trustpilot api.
Readme 36 KiB
Languages
PHP 100%