afzafri/city-link-express-tracking-api

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

返回城市联运快递跟踪详情的JSON格式字符串

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

This package is auto-updated.

Last update: 2024-09-08 22:30:03 UTC


README

返回城市联运快递跟踪详情的JSON格式字符串

安装

composer require afzafri/city-link-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": "07/05/2020",
            "time": "08:25 PM",
            "location": "NILAI, MALAYSIA",
            "process": "Package Delivered - Signed for by:XXX"
        },
        {
            "date": "07/05/2020",
            "time": "02:06 PM",
            "location": "NILAI, MALAYSIA",
            "process": "With City-Link Delivery Courier: XXX"
        },
        {
            "date": "06/05/2020",
            "time": "09:38 AM",
            "location": "NILAI, MALAYSIA",
            "process": "At City-Link Local Facility"
        },
        {
            "date": "06/05/2020",
            "time": "05:56 AM",
            "location": "DATARAN CITY-LINK EXPRESS, MALAYSIA",
            "process": "Departed sorting facility"
        },
        {
            "date": "05/05/2020",
            "time": "09:18 PM",
            "location": "SHAMELIN PERKASA, MALAYSIA",
            "process": "Departed City-Link Facility"
        },
        {
            "date": "05/05/2020",
            "time": "09:01 PM",
            "location": "SHAMELIN PERKASA, MALAYSIA",
            "process": "Arrived City-Link Facility"
        }
    ],
    "info": {
        "creator": "Afif Zafri (afzafri)",
        "project_page": "https://github.com/afzafri/City-Link-Express-Tracking-API",
        "date_updated": "09/12/2020"
    }
}

许可证

此库采用MIT许可证,请参阅LICENSE文件