afzafri/abx-express-tracking-api

此包最新版本(dev-master)没有可用的许可证信息。

返回ABX快递跟踪详情的JSON格式字符串

dev-master 2021-01-08 14:51 UTC

This package is auto-updated.

Last update: 2024-09-08 22:34:00 UTC


README

返回ABX快递跟踪详情的JSON格式字符串

安装

composer require afzafri/abx-express-tracking-api:dev-master

用法

  • http://site.com/api.php?trackingNo=CODE
  • 其中CODE是您的包裹跟踪号码
  • 然后它将返回一个JSON格式字符串,您可以解析JSON字符串并对其进行处理。

示例响应

{
    "http_code": 200,
    "error_msg": "No error",
    "status": 1,
    "message": "Record Found",
    "data": [
        {
            "date": "01/Dec/2020",
            "time": "11:45AM",
            "location": "PKX",
            "process": "ROUTE SCAN"
        },
        {
            "date": "01/Dec/2020",
            "time": "6:54AM",
            "location": "PKX",
            "process": "SHIPMENT ARRIVED AT ABX FACILITY"
        },
        {
            "date": "01/Dec/2020",
            "time": "12:47AM",
            "location": "SUBANG",
            "process": "LOGSHEET"
        },
        {
            "date": "30/Nov/2020",
            "time": "8:23PM",
            "location": "SUBANG",
            "process": "SHIPMENT PICKED UP"
        },
        {
            "date": "30/Nov/2020",
            "time": "8:23PM",
            "location": "SUBANG",
            "process": "STICKER - TOTAL PKG# (VIA HUB). (V1.0.0.42)"
        }
    ],
    "info": {
        "creator": "Afif Zafri (afzafri)",
        "project_page": "https://github.com/afzafri/ABX-Express-Tracking-API",
        "date_updated": "08/12/2020"
    }
}

许可证

此库遵循MIT许可证,请参阅LICENSE文件