Get a sneak peek at whats next for Permanent Hazards on our April 7th Office Hours!
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Post Reply
Forum rules
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

DO NOT START a new thread unless it is about a new idea. Keep discussion of existing tools within the main thread for that tool.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

[Request] URL/API to get segment info

Post by armand916
Hi,

Did anyone already analyse the query sent by WME to waze server, when we selected a particular segment...?
Is there any URL or API (with parameters) I could query , using a particular "segment id", for which the answer would be this segment properties (street name, country, length, ...)?

For example I already know how to get ALERTS in a given Area, with:
https://www.waze.com/row-rtserver/web/G ... 2119958550
My goal is to retrieve specific segment information's...

thanks.
armand916
Posts: 32
Has thanked: 4 times
Been thanked: 5 times

POSTER_ID:16336623

1

Send a message

Post by armand916
Thanks for the URL.....
Anyway, I just realized that this URL is sensitive to Authentication...
and as my plan is to Query this URL directly from Tasker: i am not authenticated in waze yet !
So the server reply something like:

Code: Select all

{"errorLevel":"ERROR","errorList":[{"code":100,"details":"user is not logged in"}]}..
Nevermind, I will try to find a work around.
thanks.
armand916
Posts: 32
Has thanked: 4 times
Been thanked: 5 times
Send a message

Post by Glodenox
When selecting a street segment, no calls are made to Waze (which is good because it would introduce some annoying lag each time you select a segment). Instead, the information of all segments is retrieved when you move to a certain area.

The following URL looks at a viewport over central London (as an example):

Code: Select all

https://www.waze.com/row-Descartes-live/app/Features?roadTypes=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21&bbox=-0.109768,51.497741,-0.072013,51.508913&language=en-GB
There are several additional options you can add (just check developer tools > network while using WME), but these are the ones that matter for you.

But sadly enough I couldn't find a way to just retrieve this information with the ID.
Glodenox
Waze Global Champs
Waze Global Champs
Posts: 1565
Answers: 1
Has thanked: 278 times
Been thanked: 940 times
Send a message
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
https://www.tomputtemans.com/images/WazeBelgium.pnghttps://www.tomputtemans.com/images/WazeWMEbeta.png