接口地址:http://open.6api.net/zipcode/query
支持格式:JSON,JSONP
请求方式:GET POST
请求示例:http://open.6api.net/zipcode/query?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| zipcode | string | 否 | 邮编 |
| 参数名称 | 类型 | 说明 |
|---|---|---|
| province | string | 省 |
| city | string | 市 |
| town | string | 县 |
| address | string | 地址 |
| zipcode | string | 邮编 |
接口地址:http://open.6api.net/zipcode/addr2code
支持格式:JSON,JSONP
请求方式:GET POST
请求示例:http://open.6api.net/zipcode/addr2code?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| address | string | 是 | 地址 |
| areaid | int | 是 | 区域ID |
| 参数名称 | 类型 | 说明 |
|---|---|---|
| province | string | 省 |
| city | string | 市 |
| town | string | 县 |
| address | string | 地址 |
| zipcode | string | 邮编 |
接口地址:http://open.6api.net/zipcode/area
支持格式:JSON,JSONP
请求方式:GET POST
请求示例:http://open.6api.net/zipcode/area?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| 暂无参数 | |||
| 参数名称 | 类型 | 说明 |
|---|---|---|
| areaid | int | 区域ID |
| name | string | 区域名称 |
| parentid | int | 上级ID |