Updated readme.

This commit is contained in:
luke.rodham
2016-02-24 10:00:03 +00:00
parent 9ec195c09f
commit 0046e1588b

View File

@@ -11,4 +11,7 @@ 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();
```