Waze

FREEMIUM
By OpenWeb Ninja | Updated 8일 전 | Transportation
Popularity

9.7 / 10

Latency

2,122ms

Service Level

100%

Health Check

100%

Back to All Discussions

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

Rapid account: Ahmedchahboune 12
ahmedchahboune12
일 년 전

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 일 년 전

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 일 년 전

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 일 년 전

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

Join in the discussion - add comment below:

Login / Signup to post new comments