library shipment-tracking-yanwen-express
A flexible and shipment tracking library for Yanwen Express.
slince/shipment-tracking-yanwen-express
A flexible and shipment tracking library for Yanwen Express.
- Tuesday, August 1, 2017
- by slince
- Repository
- 2 Watchers
- 1 Stars
- 15 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
Shipment Tracking Library For Yanwen Express
, (*1)
A flexible and shipment tracking library for Yanwen Express(็ๆ็ฉๆต)., (*2)
Installation
Install via composer, (*3)
$ composer require slince/shipment-tracking-yanwen-express
Basic Usage
$tracker = new Slince\ShipmentTracking\YanWenExpress\YanWenTracker(KEY, 'en');
try {
$shipment = $tracker->track('CNAQV100168101');
if ($shipment->isDelivered()) {
echo "Delivered";
}
echo $shipment->getOrigin();
echo $shipment->getDestination();
print_r($shipment->getEvents()); //print the shipment events
} catch (Slince\ShipmentTracking\Exception\TrackException $exception) {
exit('Track error: ' . $exception->getMessage());
}
License
The MIT license. See MIT, (*4)
dev-master
9999999-dev
A flexible and shipment tracking library for Yanwen Express.
Sources
Download
MIT
The Requires
The Development Requires
by
tao
tracking
tracker
shipment
parcel
็ๆ็ฉๆต
yanwen express
็ๆ
1.1.0
1.1.0.0
A flexible and shipment tracking library for Yanwen Express.
Sources
Download
MIT
The Requires
The Development Requires
by
tao
tracking
tracker
shipment
parcel
็ๆ็ฉๆต
yanwen express
็ๆ
1.0.0
1.0.0.0
A flexible and shipment tracking library for Yanwen Express.
Sources
Download
MIT
The Requires
The Development Requires
by
tao
tracking
tracker
shipment
parcel
็ๆ็ฉๆต
yanwen express
็ๆ