承接 softopia/trustpilot-unofficial-api 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

softopia/trustpilot-unofficial-api

Composer 安装命令:

composer require softopia/trustpilot-unofficial-api

包简介

Unofficial Trustpilot Api to fetch reviews and trust score.

README 文档

README

Just checekd this randomly and It still works.

Unofficial Trustpilot Api For PHP

Unofficial Trustpilot Api to fetch reviews and trust score.

Installation

You can install the package via composer:

composer require softopia/trustpilot-unofficial-api

Usage

//use namespace
use Softopia\TrustApi\TrustApi;

//create an instance
$trust = new TrustApi('example.com');

//get average rating
$trust->getRating();

//get reviews count
$trust->getReviewsCount();

//get All reviews (max 600 reviews or you can say 30 pages)
$trust->getAllReviews($wantJson = true); //false if you want array back

Response Format

[
  {
    "reviewId": "xxxxxxxxxxx",
    "reviewUrl": "https://www.trustpilot.com/reviews/xxxxxxxxxxxx",
    "rating": 5,
    "reviewTitle": "Nice work",
    "reviewBody": "Nice work!!!!",
    "customer": {
      "id": "xxcxcxcxc",
      "name": "Nice name",
      "image": "https://user-images.trustpilot.com/xxxxxxxxx/73x73.png"
    }
  }
]

Testing

//TODO

Credits

License

The MIT License (MIT). Please see License File for more information.

PHP Package Boilerplate

This package was generated using the PHP Package Boilerplate.

统计信息

  • 总下载量: 74
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-07-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固