Hey all - we have been getting a few of these issues pop up on the forum so I thought I’d pin this post for now.
We are currently working on fixing the data available through the API Gateway.
This is what should be happening:
The bus schedule data is available as separate bundles based on contract regions as per the documentation (Buses technical documentation)
The bus realtime data is available as a single bundle using the Agency ID “buses”.
But we found that we need to do a bit more work to expose the separate scheduled data…
We will be able to update everyone in the next few days.
In a slightly longer timeframe our Data team and PTIPS teams are are working on creating a consolidated ‘buses’ bundle for the schedule information. This will make things a bit easier to match up.
Oh and although there is the GTFS bundle that has the timetable information that data is not easy to match to the schedule data we reference above (just in case you were wondering).
Apologies to all you keen developers out there itching to get the data! We’re working on it.
Does this data change with high frequency? If it’s not that frequent, is there any chance we could get a snapshot for development purposes? A simple ZIP posted somewhere would be great, just to get un-blocked.
OK - for those keen to see what the format is like we have grabbed a snapshot of the scheduled data and zipped it up. They will normally come through as individual zip files.
Right click and do a “save link as” to grab the sample file:
The schedule data for buses is now available via the API Gateway!
Just a couple of tips:
the bundle for buses is a work in progress and isn’t yet available via the API Gateway. We’ve built it in to be ready for it when it’s finalised but I wouldn’t use it in a production system. I believe it returns a zero byte file at the moment.
Thanks for the update.
Just want to clarify a bit more, so those new APIs expose the static bus schedules breakdown by the bus operator’s contract number, and uses the trip id which can be matched with real time data feed?
if it is the case, can these data be download as a zip file(as the temp download file provided before) since they are not changing?
The zip file is in development. I know it sounds easy but it isn’t… when available it will be at the obvious “buses” end point. I believe you get a file now… it just doesn’t have anything useful in it!
The files do change on a regular basis to allow for events and changes in timetables. There are suggested schedule changes on the Tips and Tricks page