参数说明
返回数据
{
"success": true,
"num": "1234567890",
"name": "AAE 中国",
"type": "aae",
"info": [{
"time": "2017-06-15 14:31:00",
"ftime": "2017-06-15 14:31:00",
"context": "总公司发往AAE-AE",
"location": ""
}, {
"time": "2015-08-11 19:32:00",
"ftime": "2015-08-11 19:32:00",
"context": "门店入库扫描",
"location": ""
}, {
"time": "2013-03-22 16:00:00",
"ftime": "2013-03-22 16:00:00",
"context": "上海第二分公司取件入库",
"location": ""
}, {
"time": "2013-03-22 16:00:00",
"ftime": "2013-03-22 16:00:00",
"context": "上海第二分公司发往华东分拨中心",
"location": ""
}, {
"time": "2013-03-22 15:59:00",
"ftime": "2013-03-22 15:59:00",
"context": "起运地发件办理",
"location": ""
}]
}
调用实例
自行调用
示例代码
<?php
$num = $_GET['num'];
$result = file_get_contents("https://api.vvhan.com/api/kuaidi?hao=" . $num);
header("Content-Type:text/json;charset=UTF-8");
echo $result;
?>