Need help setting up Trip Planner & Timetables

Hi,

So I am going to run the risk of sounding like a complete idiot, but I am not to sure where else to turn… I am not a super technical person but I need some help embedding the Trip Planner & Timetables for our client Port Stephens Coaches new site… Is anyone able to help or at least point me in the right direction where I could do this?
Thanks in advance

Hi @HeatMarketing, have you had a look at using the official TfNSW trip planning widget? You can find it here - TfNSW Trip Planning Widget | TfNSW Open Data Hub and Developer Portal
This gives you the code to integrate the Transport for NSW trip planner into your website.

If you’re talking about using the APIs and data feeds then we might need more details about what you want to do and get one of our friendly developers around here to help you out.

Thanks,
Alex

Thanks for the quick reply Alex!

So I have managed to get that widget embedded. Is there a way it can produce the results without being taken to transport site (can they be shown on my site? ) so user dont have to navigate back?

At the moment with the timetables the user has to download a pdf from this page where what i would love to be able to do is display this live on the new site so they don’t have to download anything or be taken to a different page…

The API I found is this one, not sure if it’s the correct one not Explore API - Public Transport - Timetables - For Realtime | TfNSW Open Data Hub and Developer Portal

Thanks,
Julian

Hi Julian,

Yes, unfortunately you can’t fully embed the widget. Once you click through to the results it will re-direct to the transport website.

If you want to use our APIs to code a solution you can use the one you mentioned or the Trip Planner API - Trip Planner APIs | TfNSW Open Data Hub and Developer Portal. The Trip Planner API is used for the trip planner and the widget. You will need to read the documentation and see what the best solution is, hopefully one of the other app developers can help you out.

Thanks,
Alex