高德POI搜索:地点关键词搜索

  • Post author:
  • Post category:其他


curl –location –request GET ‘https://restapi.amap.com/v3/assistant/inputtips?output=json&city=北京&keywords=广安门桥&key=高德给的key

官方文档:https://lbs.amap.com/api/webservice/guide/api/inputtips/

output可以是xml、json。

city:查询的城市,城市中文或中文全拼或高德的citycode或adcode,用于高德API的参数。

citycode、adcode文档下载:https://lbs.amap.com/api/webservice/download

info状态表:

https://lbs.amap.com/api/webservice/guide/tools/info/

能返回建议的名称、所属区域、区域编码、坐标、详细地址。

数字签名获取和使用方法:

https://lbs.amap.com/faq/quota-key/key/41169

type中可以传入分类编码,选择搜索结果的偏好,商业住宅、政府单位等。

在https://lbs.amap.com/api/webservice/guide/api/georegeo 这里找POI分类码表,可以下载POI分类码表。



版权声明:本文为haoranhaoshi原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。