【问题标题】:Herepy EVCharging Station API; Error occured: Forbidden, description: These credentials do not authorize accessHerepy EV充电站API;发生错误:禁止访问,说明:这些凭据未授权访问
【发布时间】: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?我有一个用户在另一个线程上说它在免费增值计划中不可用

标签: python here-api herepy


【解决方案1】:

EV Charging Station API 尚不适用于免费增值客户。

【讨论】:

    猜你喜欢
    • 2022-10-13
    • 1970-01-01
    • 1970-01-01
    • 2022-07-11
    • 1970-01-01
    • 1970-01-01
    • 2022-10-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多