![](https://img-blog.csdnimg.cn/20190918140037908.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
高德地图API相关
高德地图内部的API,通过Python调用实现部分功能!
Abby_QI
研二在读,实习中...电力电子方向,梦想是控制算法工程师!
展开
-
[Python & 高德地图] API调用学习历程(四)
[四]高德天气API调用 通过调用天气,应用在QQ机器人上,实现查天气功能 Python代码示例: async def get_weather_of_city(city: str) -> str: # #当前原创 2020-06-24 21:00:53 · 492 阅读 · 0 评论 -
[Python & 高德地图] API调用学习历程(三)
[三]基于网页/URL的地图点标记 单点标记 #基于网页单点位置标注 def heml_map(loaction: str): url_a = 'https://m.amap.com/navi/?dest=' url_b = '&destName=' url_c = '您自定义的位置名称'#自定义位置名称 url_d = '&hideRouteIcon=1&key=a0151d367ff494823a0ad4d4bd78bb0f' url原创 2020-05-09 12:24:44 · 507 阅读 · 0 评论 -
[Python & 高德地图] API调用学习历程(二)
[二]路径规划调用 #路径规划 def walking(origin: str,destination: str)->dict: parameters = {'key':key, 'origin':origin, 'destination':destination, 'output':'json' } r = requests.get("htt原创 2020-05-09 12:16:47 · 365 阅读 · 0 评论 -
[Python & 高德地图] API调用学习历程(一)
[一]正逆地理编码调用 #地理编码调用 def geo(address: str,city = None)->dict: parameters = {'key':key, 'city':city, 'citylimit':True, 'address':address } r = requests.get("https://restapi.am原创 2020-05-09 12:14:11 · 547 阅读 · 2 评论