moneymaxim/trustpilot-authenticator
最新稳定版本:v0.1.1
Composer 安装命令:
composer require moneymaxim/trustpilot-authenticator
包简介
A PHP library for obtaining Trustpilot API access tokens
README 文档
README
A PHP library for obtaining Trustpilot Business User API access tokens.
This library has been developed and open sourced by moneymaxim.
We are currently on the look out for PHP programming talent, so please get in touch if you are interested.
Install
Install using composer:
composer install moneymaxim/trustpilot-authenticator
Usage
$authenticator = new Trustpilot\Api\Authenticator\Authenticator(); $accessToken = $authenticator->getAccessToken($apiKey, $apiToken, $username, $password); // $accessToken->getToken(): string // $accessToken->hasExpired(): bool // $accessToken->getExpiry(): \DateTimeImmutable // $accessToken->serialize(): string
统计信息
- 总下载量: 51.65k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-01-27