Source: Furgonetka REST API Docs
API Version compatible: v1.0.23
Docs: Coming soon 🔜
composer require kwarcek/furgonetka-rest-api-php
use Kwarcek\FurgonetkaRestApi\FurgonetkaClient
use Kwarcek\FurgonetkaRestApi\AuthCredential
use GuzzleHttp\Client;
use Kwarcek\FurgonetkaRestApi\Request\AccountRequest;
use Kwarcek\FurgonetkaRestApi\LoginCredential;
$client = new Client([
'base_uri' => LoginCredential::FURGONETKA_DEFAULT_TEST_API_URL,
'timeout' => 10,
'verify' => false,
]);
$credentials = new LoginCredential();
$credentials->clientSecret = 'app-e781f17b79aaf0d1a44lh88469c9f6e5';
$credentials->clientId = 'b4db4de51e51371ad817f36ac3dd4e760b659g246ee3b3f67d3add846479436f';
$credentials->username = '[email protected]';
$credentials->password = 'secret123';
$client = new FurgonetkaClient($client, $credentials);
$accountRequest = new AccountRequest($client);
$credentials = $client->authCredential->accessToken;
$carrierList = $accountRequest->getCarrierList();
BTC: 12iNBSSznWNYKwyPC6nrBBQVMNc638QheD
ETH (ERC20): 0x286909e74cca47cf70f4b2d713054d8c85d192e6
ETC: 0x286909e74cca47cf70f4b2d713054d8c85d192e6
BNB (ERC20): 0x286909e74cca47cf70f4b2d713054d8c85d192e6
DOGE: DK513TpCYaCPABkFPshYhYKi2UoiwraVGF
Feel free to contribute to the project.