The API is RESTful JSON over HTTP using GuzzleHttp as a HTTP client.
$client = new \MNIB\UrgentCargus\Client($apiKey, $apiUri);
...
$token = $client->getToken('username', 'password');
...
$result = $client->get('PickupLocations', [], $token);
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The API is RESTful JSON over HTTP using GuzzleHttp as a HTTP client.
$client = new \MNIB\UrgentCargus\Client($apiKey, $apiUri);
...
$token = $client->getToken('username', 'password');
...
$result = $client->get('PickupLocations', [], $token);