Skip to content
This repository was archived by the owner on Dec 9, 2022. It is now read-only.

API Query

燒餅 edited this page Aug 31, 2017 · 2 revisions

查询类

检测单号快递公司: /detect_company

示例: http://api.example.com:3000/detect_company?id=123456789012

请求方式: GET

查询字段:

名称 说明
id 运单号码

返回值:

JSON 字段名 说明
message 状态消息
code 状态号码
company 快递公司代号

查询快递状态: /query

示例: http://api.example.com:3000/query?id=123456789012&com=jd

请求方式: GET

查询字段:

名称 说明
id 运单号码
com 快递公司代号(可选)

返回值:

JSON 字段名 说明
message 状态消息
code 状态号码
data 包裹数据 (Package Model)

Clone this wiki locally