happyr-match/api-client

A client for Happyr match API

0.7.0 2022-04-01 16:26 UTC

This package is auto-updated.

Last update: 2022-07-31 00:18:44 UTC


README

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.