Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 742 Bytes

README.md

File metadata and controls

19 lines (18 loc) · 742 Bytes

pfcexpress api

这个是皇家物流的api封装, 提供跨境电商用户将此api集成在自己的后台

项目正在开发阶段, 欢迎提交PR, 开发方式

require_once __DIR__.'/vendor/autoload.php';
$apiKey = 'your api key';
$userId = 'your user id';
$obj = new \Kk0501\Pfcexpress\Api($apiKey, $userId);
$countrys = $obj->getCountry();
var_dump($countrys);
$packages = $obj->getPackage('订单号或追踪单号');
var_dump($packages);