PHP code example of ensi / apiship-sdk-php
1. Go to this page and download the library: Download ensi/apiship-sdk-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ensi / apiship-sdk-php example snippets
$adapter = new GuzzleAdapter('test', 'test', true);
$apiship = new Apiship($adapter);
$providersResult = $apiship->lists()->getPoints();
$headers = $apiship->adapter->getLatestResponseHeaders();
$xTraingId = $headers['x-tracing-id'];