This is a driver for the TrackingMore API. Check out the repository on GitHub for more information.
First, install the TrackingMore driver via the Composer package manager:
composer require parceltrap/driver-trackingmoreIn your config/parceltrap.php configuration file, add the following to the drivers key:
'trackingmore' => [
'api_key' => env('PARCELTRAP_TRACKINGMORE_API_KEY'),
],You can get these details by registering for the TrackingMore API. To
find out more, visit the Tracking API reference.
This documentation page also shows the raw TrackingMore-specific data that can be found in the
returned TrackingDetails DTO.
$driver = \ParcelTrap\Facades\ParcelTrap::driver('trackingmore');
$driver->find('UB209300714LV'); // ParcelTrap\DTOs\TrackingDetails