Hi,
I have been looking at the Roads-Realtime Api both through the API Explorer and a Python script but cannot seem to get it to work. I know my API key and authorization is working as it works with https://api.transport.nsw.gov.au/v1/ttds/events but i cannot get it to work with https://api.transport.nsw.gov.au/v1/ttds/route.
I followed the instructions as per the example in API Explorer and have set the X-User-Agent and Content-Type correctly and set the body to
“encoded-paths”: [“jsumEge|y[t@FpId@`@BToCtAHrAJ~@GXBt@DN@JLvBLxE\zCVbEVpFZjCR\AjAD\BHHf@Dn@DfCP|@BEr@GhAEn@Oh@[rCt@PjEx@lCb@n@JdAP”]
as per the example (omiting the departure-time as it is not required) but I keep getting a 400 Bad Request.
Has anybody any ideas on what i need to populate the Body with to get the route information.