价格: ¥ 99 积分可抵¥ 1
最后更新: 2019-12-15 20:54:53
演示地址: 无
安装费: 免费
调用地址:http(s)://api02.aliyun.venuscn.com/area/all
请求方式:GET
返回类型:JSON
API 调用:API 简单身份认证调用方法(APPCODE)展开API 签名认证调用方法(AppKey & AppSecret)
调试工具:去调试
无参数
名称 | 类型 | 是否必须 | 描述 |
---|---|---|---|
level | STRING | 可选 | 行政区域等级(0: 省级 1:市级 2:县级 3:镇级 4:乡村级) |
page | STRING | 可选 | 页码(页码从1开始) |
size | STRING | 可选 | 每页条数(默认50条,每页最多50条) |
无参数
curl -i -k --get --include 'https://api02.aliyun.venuscn.com/area/all?level=0&page=1&size=50' -H 'Authorization:APPCODE 你自己的AppCode'
{
"ret": 200,
"msg": "success",
"log_id": "DA7CB840-2CCF-4841-935A-F6BB92A4A47A",
"data": [
{
"pinyin": "ShangHai",
"lng": "121.473701",
"level": 0,
"parent_id": 0,
"area_code": "310000000000",
"name": "上海市",
"merger_name": "上海",
"city_code": "",
"short_name": "上海",
"id": 161792,
"zip_code": "000000",
"lat": "31.230416"
},
{
"pinyin": "JiangSu",
"lng": "118.763232",
"level": 0,
"parent_id": 0,
"area_code": "320000000000",
"name": "江苏省",
"merger_name": "江苏",
"city_code": "",
"short_name": "江苏",
"id": 167904,
"zip_code": "000000",
"lat": "32.061707"
}
]
}
无数据
无数据
0 (0%) 好评 | 0 (0%) 中评 | 0 (0%) 差评 |