retrochaos/trustpilot-business-unit-api

PHP与Trustpilot Business Unit API集成

1.0.0 2024-02-20 11:10 UTC

This package is auto-updated.

Last update: 2024-09-20 12:51:30 UTC


README

一个用于访问Trustpilot Business Unit API的PHP库。

这个库最初由moneymaxim开发和开源。

后来,它被分叉并更新为使用Guzzle7

安装

使用composer安装

composer install retrochaos/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