Waze

免费增值
通过 OpenWeb Ninja | 已更新 6日前 | Transportation
人气

9.7 / 10

延迟

2,127ms

服务等级

100%

Health Check

100%

返回所有讨论

The 'max_alerts' parameter should be an intege...

Hello,
I want to use the endpoint waze API for my project, i set the max_alerts and max_jams parameters to 600 000, is the error i got in the title is from these parameter or what?
Hope you can help me, i need this data for further analysis and AI.
Thank you.

Rapid account: Letscrape 6 B R Ba 3 Qgu O 5
letscrape-6bRBa3QguO5 Commented 1年前

Yes, I think there is a way to do that. You can use smaller areas which are likely to have less than 800 or 200 alerts and jams - in other words, instead of querying a big area for more than 800 or 200 entries, you can divide the area into smaller areas and get up to 800 or 200 for each.

Please kindly let me know if it helps with your case.

Rapid account: Ahmedchahboune 12
ahmedchahboune12 Commented 1年前

Hello,
I try these values and it works.
Is there any other way to request 600000, as i told you before i need more data for my project to do analysis and apply machine learning algorithms.
200 isn’t sufficient as it is small.
Thank you any way.

Rapid account: Letscrape 6 B R Ba 3 Qgu O 5
letscrape-6bRBa3QguO5 Commented 1年前

Hi,

Thanks for your question.

Yes, valid values for the max_jams and max_alerts are from 0-800 - In your request you specified 60000. However, I realize that it might be easier for you and others if I just set max_alerts to 800 in case (and max_jams to 200) in case higher values are specified.

You can try again and it should work for you now.

Please kindly let me know if there are any issues.

Thank you,
OpenWeb Ninja

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论