根据经纬度和关键字匹配POI
基本信息
Path: /api/v1/nearby-poi
Method: GET
接口描述:
请求参数
Query
参数名称 | 是否必须 | 示例 | 备注 |
---|---|---|---|
keyword | 是 | 搜索关键字 | |
lat | 是 | 6.88684 | |
lng | 是 | 116.8253111 |
返回数据
{
"Code": 0,
"Desc": "成功",
"Message": {
"thumb_pic": "http://zzcpoi.b0.upaiyun.com/small_poi_pic/attr/19974.jpg",
"sort": 99.2,
"en_name": "Klias Mangrove",
"recommends": "",
"region_id": 10084,
"tags": "自然风光,红树林,萤火虫",
"city_id": 2187,
"comment_num": 18,
"location": {
"lat": 5.980408,
"lon": 116.073456
},
"detail": {
"average_prices": "",
"memo": "Klias红树林是亚庇三大红树林路线之一(其馀两条分别是Klias红树林以及Weston红树林)。",
"nav_location": {
"lat": 5.9803938,
"lng": 116.07348
},
"price": [],
"min_price": {},
"good_desc": "",
"id": 19974
},
"grade": 4.1,
"area_type": 0,
"city_cn": "哥打京那巴鲁",
"mwm_id": 73,
"poi_type": 1,
"is_ticket": 1,
"city_en": "Kota Kinabalu",
"address": "BTC Emporium, Lorong Sinsuran, Ujana Seri Fantasi, Kota Kinabalu, Sabah, 88000, Malaysia",
"cn_name": "Klias红树林",
"id": 19974,
"is_detail": 1
},
"extData": {
"region_id": 10084
}
}