采用人工智能方法解析出文本中的收货人名称(人名、网名等)、联系方式、邮编和详细地址。
接口地址: https://whyta.cn/api/tx/addressparse
返回格式: JSON
请求方式: GET
请求示例:https://whyta.cn/api/tx/pyqwenan?key=你的APIKEY&text=马云13800138000杭州市滨江区网商路699号
接口备注:2
参数 | 类型 | 必填 | 示例值 | 说明 |
---|---|---|---|---|
key | string | 是 | 你的APIKEY | |
text | string | 是 | 马云13800138000杭州市滨江区网商路699号 | 文本内容 |
参数 | 类型 | 示例 | 说明 |
---|---|---|---|
mobile | string | 13800138000 | 移动电话号码 |
name | string | 马云 | 收货人姓名 |
province | string | 浙江省 | 省/特区/自治区/直辖市 |
city | string | 杭州市 | 城市 |
district | string | 滨江区 | 区县 |
postcode | string | 310052 | 邮编(文本中优先否则默认区县级) |
detail | string | 浙江省杭州市滨江区网商路699号 | 完整地址 |
{
"code": 200,
"msg": "success",
"result": {
"mobile": "13800138000",
"name": "马云",
"province": "浙江省",
"city": "杭州市",
"district": "滨江区",
"postcode": "310052",
"detail": "浙江省杭州市滨江区网商路699号"
}
}