我正在尝试学习使用windows powershell在python上运行googlemapsapi
import googlemaps
from googlemaps import Client
mapService = Client(you_key,your_client_id,your_client_secret)
directions = mapService.directions('Texarkana','Atlanta')
for step in directions['Directions']['Routes'][0]['Steps']:
print (step['descriptionHtml'])
这是我正在使用的代码,我有来自google开发者控制台的api密钥、客户端id和密码
我得到了错误
googlemaps.exceptions.HTTPError:HTTPError:403
这不是403禁止的错误,也不是我能发现的。 好心人来帮我。谢谢
目前没有回答
相关问题 更多 >
编程相关推荐