1

我尝试请求交通流量数据

page = requests.get('https://traffic.ls.hereapi.com/traffic/6.2/flow.xml?apiKey={}&bbox={},{};{},{}&responseattributes=sh,fc'.format(api_key,north,west,south,east))
print(page.content.decode('utf-8'))

但回应是

<html>
<head><title>403 Forbidden</title></head>
<body bgcolor="white">
<center><h1>403 Forbidden</h1></center>
<hr><center>nginx</center>
</body>
</html>

不过昨天还好好的

4

2 回答 2

1

显然他们的服务现在正在下降。可以在这里查看状态

https://support.here.com/status

于 2021-04-27T03:02:46.057 回答
0

您遇到此问题时发生了临时中断。问题已得到解决,并已采取纠正措施进行预防。

于 2021-05-03T08:14:37.563 回答