逆地址解析
开发中
GET
/staffapi/index/geocoderCoordinate
请求参数
Query 参数
location
string
必需
Header 参数
token
string
必需
默认值:
217ba8ac94c48c81403500017f8c13fc
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/staffapi/index/geocoderCoordinate?location' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
status
integer
必需
message
string
必需
request_id
string
必需
result
object
必需
示例
{
"code": 0,
"show": 0,
"msg": "string",
"data": {
"status": 0,
"message": "string",
"request_id": "string",
"result": {
"location": {
"lat": 0,
"lng": 0
},
"address": "string",
"address_component": {
"nation": "string",
"province": "string",
"city": "string",
"district": "string",
"street": "string",
"street_number": "string"
},
"ad_info": {
"nation_code": "string",
"adcode": "string",
"phone_area_code": "string",
"city_code": "string",
"name": "string",
"location": {
"lat": 0,
"lng": 0
},
"nation": "string",
"province": "string",
"city": "string",
"district": "string",
"_distance": 0
},
"address_reference": {
"famous_area": {
"id": "string",
"title": "string",
"location": {
"lat": 0,
"lng": 0
},
"_distance": 0,
"_dir_desc": "string"
},
"business_area": {
"id": "string",
"title": "string",
"location": {
"lat": 0,
"lng": 0
},
"_distance": 0,
"_dir_desc": "string"
},
"town": {
"id": "string",
"title": "string",
"location": {
"lat": 0,
"lng": 0
},
"_distance": 0,
"_dir_desc": "string"
},
"landmark_l2": {
"id": "string",
"title": "string",
"location": {
"lat": 0,
"lng": 0
},
"_distance": 0,
"_dir_desc": "string"
},
"street": {
"id": "string",
"title": "string",
"location": {
"lat": 0,
"lng": 0
},
"_distance": 0,
"_dir_desc": "string"
},
"street_number": {
"id": "string",
"title": "string",
"location": {
"lat": 0,
"lng": 0
},
"_distance": 0,
"_dir_desc": "string"
},
"crossroad": {
"id": "string",
"title": "string",
"location": {
"lat": 0,
"lng": 0
},
"_distance": 0,
"_dir_desc": "string"
}
},
"formatted_addresses": {
"recommend": "string",
"rough": "string",
"standard_address": "string"
}
}
}
}
修改于 2024-11-07 04:13:55