happyr-match / api-client
A client for Happyr match API
Installs: 8 111
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 3
Open Issues: 0
Requires
- php: >=7.4
- php-http/client-common: ^2.0
- php-http/discovery: ^1.7
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
- webmozart/assert: ^1.4
Requires (Dev)
- nyholm/nsa: ^1.0
- nyholm/psr7: ^1.1
- php-http/curl-client: ^2.0
- php-http/message: ^1.0
- php-http/message-factory: ^1.0
- phpunit/phpunit: ^9.5
README
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.