Termii API Client for PHP
composer require brokeyourbike/termii-api-client
use BrokeYourBike\Termii\Client;
use BrokeYourBike\Termii\Interface\ApiConfigInterface;
assert($config instanceof ApiConfigInterface);
assert($httpClient instanceof \GuzzleHttp\ClientInterface);
$apiClient = new Client($config, $httpClient);
$apiClient->fetchBalanceRaw();
- Ivan Stasiuk | Twitter | LinkedIn | stasi.uk