我正在尝试使用windows powershell
学习在python上运行googlemaps apiimport 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'])
这是我正在使用的代码,我有来自谷歌开发者控制台的api密钥,客户端ID和秘密
我一直在收到错误
googlemaps.exceptions.HTTPError:HTTPError:403
它不是403禁止的错误,而不是我能够找到的东西。 请有人帮助我。谢谢