happyr-match/api-client

A client for Happyr match API

0.6.1 2021-08-18 21:47 UTC

This package is auto-updated.

Last update: 2021-11-13 01:07:58 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.