Union Bank API Client for PHP
composer require brokeyourbike/union-bank-api-client
use BrokeYourBike\UnionBank\Client;
use BrokeYourBike\UnionBank\Interfaces\ConfigInterface;
assert($config instanceof ConfigInterface);
assert($httpClient instanceof \GuzzleHttp\ClientInterface);
assert($cache instanceof \Psr\SimpleCache\CacheInterface);
$apiClient = new Client($config, $httpClient, $cache);
$apiClient->fetchToken();
- Ivan Stasiuk | Twitter | LinkedIn | stasi.uk