Use case maps
To give you a taste of what you can do with the PTV Timetable API, we've created a small list of use case maps that show the sequence of APIs required to obtain particular information.
[Editor: The following is a text representation of the diagrams which were included in the Word version of this document.]
I want to...
see all bus stops near me on a map or list
- Health Check
- Stops Nearby
...get the next three departure times for a specific service from a selected stop
- Health Check
- Search or Stops Nearby or Transport POIs by Map =>
transport_type
- Broad Next Departures =>
transport_type
,stop_id
,line_id
- Specific Next Departures
...find out what lines travel through a stop near me and where they go
- Health Check
- Stops Nearby =>
transport_type
,stop_id
- Broad Next Departures => transport_type
- Stops on a Line
...get the next ten departures from my local stop
- Health Check
- Search or Stops Nearby or Transport POIs by Map =>
transport_type
- Broad Next Departures
...find myki ticket outlets in my area
- Health Check
- Transport POIs by Map
...see on a map which bus stops are near my local train station
- Health Check
- Transport POIs by Map