批量获取地址详细信息

基本信息

Path: /api/v1/batchaddressinfo

Method: POST

接口描述:

请求参数

Headers

参数名称 参数值 是否必须 示例 备注
Content-Type application/json
Body
{
   "address": [
      {
         "query": "广州东站",
         "location": "23.100109,113.460472",
         "radius": 3000
      },
      {
         "query": "广州南站"
      }
   ]
}

返回数据

{
   "Code": 0,
   "Desc": "成功",
   "Message": [
      [
         {
            "formatted_address": "中国广州市天河区 邮政编码: 510610",
            "geometry": {
               "location": {
                  "lat": 23.1496473,
                  "lng": 113.3247522
               },
               "viewport": {
                  "northeast": {
                     "lat": 23.15103977989272,
                     "lng": 113.3258626798927
                  },
                  "southwest": {
                     "lat": 23.14834012010727,
                     "lng": 113.3231630201073
                  }
               }
            },
            "name": "广州东站",
            "types": [
               "subway_station",
               "transit_station",
               "point_of_interest",
               "establishment"
            ]
         },
         {
            "formatted_address": "中国广州市天河区",
            "geometry": {
               "location": {
                  "lat": 23.152588,
                  "lng": 113.31965
               },
               "viewport": {
                  "northeast": {
                     "lat": 23.15377397989272,
                     "lng": 113.3209767298927
                  },
                  "southwest": {
                     "lat": 23.15107432010727,
                     "lng": 113.3182770701073
                  }
               }
            },
            "name": "广州东",
            "types": [
               "train_station",
               "transit_station",
               "point_of_interest",
               "establishment"
            ]
         }
      ],
      [
         {
            "formatted_address": "中国广州市番禺区",
            "geometry": {
               "location": {
                  "lat": 22.989055,
                  "lng": 113.269141
               },
               "viewport": {
                  "northeast": {
                     "lat": 22.98978737989273,
                     "lng": 113.27123965
                  },
                  "southwest": {
                     "lat": 22.98708772010728,
                     "lng": 113.26844145
                  }
               }
            },
            "name": "广州南站",
            "types": [
               "subway_station",
               "transit_station",
               "point_of_interest",
               "establishment"
            ]
         },
         {
            "formatted_address": "中国广东省广州市番禺区南站南路",
            "geometry": {
               "location": {
                  "lat": 22.9891752,
                  "lng": 113.2741915
               },
               "viewport": {
                  "northeast": {
                     "lat": 22.99048652989272,
                     "lng": 113.2755693798927
                  },
                  "southwest": {
                     "lat": 22.98778687010728,
                     "lng": 113.2728697201073
                  }
               }
            },
            "name": "广州南汽车客运站",
            "types": [
               "train_station",
               "transit_station",
               "point_of_interest",
               "establishment"
            ]
         },
         {
            "formatted_address": "中国广州市番禺区",
            "geometry": {
               "location": {
                  "lat": 22.989053,
                  "lng": 113.269698
               },
               "viewport": {
                  "northeast": {
                     "lat": 22.99076767989272,
                     "lng": 113.2716725798927
                  },
                  "southwest": {
                     "lat": 22.98806802010728,
                     "lng": 113.2689729201073
                  }
               }
            },
            "name": "广州南",
            "types": [
               "train_station",
               "transit_station",
               "point_of_interest",
               "establishment"
            ]
         },
         {
            "formatted_address": "中国广州市番禺区",
            "geometry": {
               "location": {
                  "lat": 22.986233,
                  "lng": 113.267088
               },
               "viewport": {
                  "northeast": {
                     "lat": 22.98765767989272,
                     "lng": 113.2683873298927
                  },
                  "southwest": {
                     "lat": 22.98495802010728,
                     "lng": 113.2656876701073
                  }
               }
            },
            "name": "广州南站",
            "types": [
               "transit_station",
               "point_of_interest",
               "establishment"
            ]
         }
      ]
   ],
   "extData": {}
}

© 2011-2020 zuzuche.com. All Rights Reserved.  广州力挚网络科技有限公司  版权所有  营业执照   粤ICP备11007328号   粤公网安备 44010602000444号