HereMaps-这些凭据不授权访问.无法获得公共交通API的有效响应 [英] HereMaps - These credentials do not authorize access. Can't get valid response for Public Transit API
问题描述
几天前,我已经在HereMaps上注册了90天的公共免费试用期,但我无法获得公共交通api的有效回复.路由正常运行,但该API无法正常运行.我使用有效的凭据调用文档中的示例请求:
I have registered for a public 90-day free trial on HereMaps few days ago and I can't get a valid response for a public transit api. Routing works properly but that API doesn't. I call example request from documentation with my valid credentials:
https://transit.cit.api.here.com/v3/route.json
?app_id={APP_ID}
&app_code={APP_CODE}
&routing=all
&dep=41.9773,-87.9019
&arr=41.8961,-87.6552
&time=2017-12-11T07%3A30%3A00
在调用它后,我会收到响应:
after calling it, I receive that response:
{
"Res": {
"serviceUrl": "https://transit.cit.api.here.com/transit/v3/route.json",
"Message": {
"code": "I4",
"level": "E",
"text": "These credentials do not authorize access. Please contact your customer representative or submit a request here https://developer.here.com/contact-us to upgrade your account. You can also get valid credentials by registering for a free trial license on https://developer.here.com."
}
}
}
任何主意,我做错了什么?我认为,这可能是由于服务器端未更新的数据库引起的,看来这不是问题.谢谢您的宝贵时间.
Any idea, what I'm doing wrong? I thought, that It might be due non-updated database on server-side, bud this seems to not be the problem. Thanks for your time.
推荐答案
请在下面找到原因和说明:
Please find the reason and explanation below:
https://developer.here.com/faqs#general
我如何评估HERE平台? HERE提供了其Web API和Mobile SDK的免费试用版.要注册免费试用,请注册.
How do I evaluate the HERE Platform? HERE offers a free trial of its web APIs and Mobile SDKs. To register for a free trial, please signup.
请注意,要访问以下功能,我们需要将您的评估app_id列入白名单.请与我们联系以请求访问权限:
Please note that to access the following features we need to whitelist your evaluation app_id. Please contact us to request access to:
批量地理编码:允许用户在一个文件中上传多个地址以进行地理编码.
Batch Geocoding: allows the user to upload multiple addresses in a single file for geocoding.
公交API的高级产品:访问我们的公交API的高级功能,从早,晚出发到实时下一次出发以及等值等高线.
Transit API Advanced Offering: access to advanced features of our Transit API, from early and late departures to real-time next departures and transit isoline.
天气API:利用天气相关数据(如天气预报,恶劣天气警报和天文信息)丰富地图应用程序.
Weather API: enrich mapping applications with weather-related data such as weather forecasts, severe weather alerts and astronomical information.
Fleet连接扩展:RESTful Web服务,用于在后端系统和导航应用程序之间建立连接.
Fleet Connectivity Extension: RESTful web service that enables connectivity between a backend system and a navigation application.
自定义路线扩展:考虑您自己的道路限制和几何形状来构建自定义路线.
Custom Route Extension: Build custom routes considering your own road restrictions and geometries.
联运路线选择:提供结合了行车,停车,乘车和步行功能的替代路线,同时考虑到实时交通和事件信息,公交时刻表和动态信息.
Intermodal Routing: Provides alternative routes combining drive, park, ride and walk functionality, while taking into account real-time traffic and incidents information, public transit timetables and dynamic information.
我希望这会有所帮助!
关于, 阿尔贝托(Alberto)
Regards, Alberto
这篇关于HereMaps-这些凭据不授权访问.无法获得公共交通API的有效响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!