Getting Timetable data of a bus stop


#1

Hi.
I am newbie on this service, so please forgive my stupid question.

My purpose is very simple.

I just need a product like this: https://www.youtube.com/watch?v=naq_We8bOiw

To develop this product, I need to get timetable data from this service and have been trying to get data by following user’s guide(https://opendata.transport.nsw.gov.au/site/en_us/gs-intro.html), but unfortunately failed to get any data.

I just want to get time table data of a bus stop.
https://www.google.com/maps/place/Harris+St+Near+Pyrmont+Bridge+Rd/@-33.87102,151.194944,77m/data=!3m1!1e3!4m5!3m4!1s0x0:0xaa61d5ce9987ea53!8m2!3d-33.8710881!4d151.1947985?hl=en-US

The data should be like this:

I want to get data of route 389.

Please help me and I would be very appreciated for any help.

Sincerely.

Yuri.


#2

Hi @yuri_borys, in short, you will have to download the datasets/bundles you require and the get your program to organise and display the data however you want it. You should get started by looking at the following pages:

For example, to get data for route 389, you will have to get the route then match it up to a trip, which then matches up to certain stops, frequency, etc. You will then have to work it all out and make your app display it however you want it.

Hope this helps, let me know if you have more specific questions we can help you with.

@david.phillips please correct me if I’m wrong or feel free to add further info

Thanks.


#3

@alejandro.felman That’s a good start. The only thing I’d add is that if you’re only looking for route 389, the endpoint for timetable info would be SMBSC009 (Sydney Metro Bus Service Contract 9, for STA eastern suburbs) eg https://api.transport.nsw.gov.au/v1/gtfs/schedule/buses/SMBSC009