简要描述

  • 根据经纬度+关键字, 搜索周围POI

基本信息

Item Info
URL /nsc/v1/poi/around
Method GET
Content-Type: application/json

接口输入参数

  • 其他必传参数请参考接口规范
参数名 类型 必选 说明
channel string 渠道,系统会对 channel 和 app_id 做相关性校验
user_id string 用户名,nio 用户传入
channel_user_id string 渠道用户名,企业对接必传
latitude double 纬度
longitude double 经度
keywords string 搜索关键词

注意:user_id和channel_user_id必传只传其一

搜索范围默认为 3km

返回示例

{
   "result_code":"success",
   "debug_msg":"success",
   "display_msg":"success",
   "request_id":"0a7d9161ivvxqxry-164",
   "server_time":1518143886,
   "data":[
      {
         "poi_id":"mapbar: MAPITPTNJRTNHPJRHPTPC",
         "latitude":31.277751,
         "longitude":121.196542,
         "name":"上海汽车创新港",
         "province":"上海",
         "city_name":"上海市",
         "city_code":"130700",
         "district":"嘉定区",
         "address":"安拓路56号""area_code":"976243"
      },
      {
         "poi_id":"team-1: 00000001",
         "latitude":31.277751,
         "longitude":121.196542,
         "name":"上海汽车创新港 隔壁",
         "province":"上海",
         "city_name":"上海市",
         "city_code":"130700",
         "district":"嘉定区",
         "address":"安拓路56号""area_code":"976243"
      }
   ]
}

返回参数说明

参数名 类型 说明
result_code string 参考 API 规范
request_id string 参考 API 规范
debug_msg string 参考 API 规范
display_msg string 参考 API 规范
server_time long 参考 API 规范
data list 符合条件的 POI
--poi_id string POI ID
--latitude double 纬度
--longitude double 经度
--name string 名称
--province string 省份
--city_name string 城市中文名
--city_code string 城市码
--district string 行政区
--address string 地址
--area_code string 区级邮编

results matching ""

    No results matching ""