happyr-match/

api-client

Happyr match API客户端

0.7.0 2022-04-01 16:26 UTC

This package is auto-updated.

Last update: 2024-08-29 04:54:58 UTC


README

Latest Version Total Downloads

https://api.happyrmatch.com提供的API客户端。

安装

通过Composer

$ composer require happyr-match/api-client

用法

$apiClient = ApiClient::create($endpoint, $clientId, $clientSecret);
$accessToken = $apiClient->createNewAccessToken($code, $redirectUri);
$apiClient->authenticate($accessToken);
$findTypes = $apiClient->find()->getTypes();

Hydrator

最终用户选择使用哪个Hydrator。默认的应该返回域对象。

许可证

MIT许可证(MIT)。请参阅许可证文件以获取更多信息。