【发布时间】:2021-05-05 10:03:46
【问题描述】:
我正在尝试使用 HERE 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文档。
-
@HEREDeveloperSupport 这是我关注的电动汽车充电站文档herepy.abdullahselek.com/api/ev_charging_stations_api
-
@HEREDeveloperSupport 您能否确认免费增值用户是否可以访问 EV Charging API?我有一个用户在另一个线程上说它在免费增值计划中不可用