ptv_departures
Retrieve upcoming PTV departures for a specified stop, with optional route, direction, and transport-type filters to check train, tram, bus, V/Line, or night service times.
Instructions
Get PTV departures for a stop. In full UnClick, stop_id can be filled from saved Memory defaults.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| stop_id | No | PTV stop ID. Optional when a saved UnClick Memory default exists. | |
| route_id | No | ||
| route_type | No | 0=train, 1=tram, 2=bus, 3=vline, 4=night. Defaults to train. | |
| max_results | No | Defaults to 5, maximum 20. | |
| direction_id | No | ||
| look_backwards | No | ||
| include_cancelled | No |