/match-api-client

HappyrMatch API client

Primary LanguagePHPMIT LicenseMIT

Happyr Match API client

Latest Version Total Downloads

Api client for https://api.happyrmatch.com.

Install

Via Composer

$ composer require happyr-match/api-client

Usage

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

Hydrator

The end user chooses which hydrator to use. The default one should return domain objects.

License

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