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: 2024-03-29 03:58:52 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.