Skip to content

中国邮政包裹物流信息查询,适用产品E邮宝、E包裹、E特快、国际EMS

Notifications You must be signed in to change notification settings

slince-archived/shipment-tracking-ems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E邮宝(Epacket、EUP)、E包裹、E特快、国际EMS物流轨迹查询

Build Status Coverage Status Latest Stable Version Scrutinizer

中国邮政包裹物流信息查询,适用产品E邮宝、E包裹、E特快、国际EMS

Installation

Install via composer

$ composer require slince/shipment-tracking-ems

Basic Usage

$tracker = new Slince\ShipmentTracking\EMS\EMSTracker(AUTHENTICATE, 'en');

try {
   $shipment = $tracker->track('CNAQV100168101');
   
   print_r($shipment->getEvents());  //print the shipment events
   
} catch (Slince\ShipmentTracking\Exception\TrackException $exception) {
    exit('Track error: ' . $exception->getMessage());
}

注意:该库并不支持查询国内EMS包裹信息,相关文档主页http://shipping.ems.com.cn/apiIndex

License

The MIT license. See MIT

About

中国邮政包裹物流信息查询,适用产品E邮宝、E包裹、E特快、国际EMS

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages