- 简介
- 时间
- 生活服务
- Live2d
- 数据仓库
- 行政区划
- 碧蓝航线
- Bilibili
- 壁纸
- 音乐
- 成语
- 加解密编码
获取下级行政区划
测试中
GET
https://api.timelessq.com/district/getChildren
district
最后修改时间:2023-02-19 03:44:13
请求参数
Query 参数
code
地区编号
示例值:
4406
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.timelessq.com/district/getChildren?code=4406'
返回响应
🟢200successful operation
application/json
Body
errno
integer
必需
errmsg
string
必需
data
array [object {5}]
必需
code
string
地区编号
name
string
名称
areaCode
string
区编号
cityCode
string
市编号
provinceCode
string
省编号
示例
{
"errno": 0,
"errmsg": "",
"data": [
{
"code": "440106001",
"name": "五山街道",
"areaCode": "440106",
"cityCode": "4401",
"provinceCode": "44"
},
{
"code": "440106002",
"name": "员村街道",
"areaCode": "440106",
"cityCode": "4401",
"provinceCode": "44"
},
{
"code": "440106003",
"name": "车陂街道",
"areaCode": "440106",
"cityCode": "4401",
"provinceCode": "44"
}
]
}
🟠400Invalid status value
修改于 2023-02-19 03:44:13