get_directions
Get the directions serviced by a bus route. Enter the route ID to find direction names for use in stop retrieval.
Instructions
Fetch the set of directions serviced by the specified route. Use the 'id' field (not the human-readable 'name') from a result as the 'direction' parameter for get_stops_for_route.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rt | Yes | Route designator, e.g. the 'rt' field from a get_routes() result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |