接口地址:https://open.6api.net/area/province
支持格式:JSON,JSONP
请求方式:GET POST
请求示例:https://open.6api.net/area/province?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| 暂无参数 | |||
| 参数名称 | 类型 | 说明 |
|---|---|---|
| id | int | ID |
| name | string | 全称 |
| shorter | string | 简称 |
| parentid | int | 上级ID |
| parentname | string | 上级名称 |
| areacode | string | 省份代码 |
| coordinate | decimal | 坐标 |
接口地址:https://open.6api.net/area/city
支持格式:JSON,JSONP
请求方式:GET POST
请求示例:https://open.6api.net/area/city?appkey=yourappsecret
| 参数名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| parentid | int | 是 | 上级ID |
| 参数名称 | 类型 | 说明 |
|---|---|---|
| id | int | ID |
| name | string | 全称 |