地点详情检索
GET
/place/v2/detail
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api.map.baidu.com/place/v2/detail?uid=435d7aea036e54355abbbcc8&scope=2&ak=&sn='
响应示例响应示例
{
"message": "string",
"total": 0,
"name": "string",
"status": 0,
"location": {
"lat": 0,
"lng": 0
},
"address": "string",
"province": "string",
"city": "string",
"area": "string",
"adcode": 0,
"telephone": "string",
"uid": "string",
"street_id": "string",
"detail": "string",
"detail_info": {
"distance": 0,
"type": "string",
"tag": "string",
"navi_location": {
"lng": 0,
"lat": 0,
"alias": "string",
"detail_url": "string"
},
"price": "string",
"shop_hours": "string",
"overall_rating": "string",
"taste_rating": "string",
"service_rating": "string",
"environment_rating": "string",
"facility_rating": "string",
"hygiene_rating": "string",
"technology_rating": "string",
"image_num": "string",
"groupon_num": 0,
"discount_num": 0,
"comment_num": "string",
"favorite_num": "string",
"checkin_num": "string",
"brand": "string",
"content_tag": "string",
"photos": [
"string"
]
}
}
请求参数
Query 参数
uid
string
poi的uid
示例值:
435d7aea036e54355abbbcc8
uids
string
可选
extensions_adcode
string
可选
output
string
请求返回格式
示例值:
json
ret_coordtype
string
可选
scope
string
必需
示例值:
2
timestamp
string
可选
photo_show
string
可选
ak
string
必需
默认值:
{{ak}}
sn
string
可选
默认值:
{{sn}}
返回响应
修改于 2022-08-22 01:56:15