我正在尝试使用这里的api来获取一些充电站数据。我注册了一个免费帐户,并验证了我的电子邮件地址
我正在使用Herepy
发送请求,但不幸的是,我遇到了以下错误
HEREError: Error occured: Forbidden, description: These credentials do not authorize access
我不知道为什么会出现这个错误。
我在Get your credentials
节下获得了API密钥;小节REST
并生成API密钥。
我正在使用以下脚本测试我的请求
from herepy import *
import requests
api_key = "MY_API_KEY" # Enter your key here
evAPI = EVChargingStationsApi(api_key)
response = evAPI.get_stations_circular_search(latitude = 37.87166, longitude = -122.2727, radius = 10000)
电动汽车充电站API尚未向freemium客户提供
相关问题 更多 >
编程相关推荐