Timetable of a route at a stop
transit_get_timetableReturns the planned departure times of one direction of a route of the TTC at one stop, on a date of the current week. A time of 24:00 or later is after midnight, on the next date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The date, YYYY-MM-DD, in the current week. The default is today in Tbilisi. | |
| kind | No | The kind, when two routes share the number: bus, minibus, metro, or cable_car. | |
| stop | Yes | The stop id or the stop code. The stop must be on the direction. | |
| route | Yes | The route number (385) or the route id. | |
| language | No | The language of the names: ka or en. The default is en. | |
| direction | No | The direction number from transit_get_route. Required when the route has two directions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | The date of the times, YYYY-MM-DD. | |
| stop | Yes | The stop. | |
| as_of | Yes | The instant at which the server read the timetable, RFC 3339. | |
| route | Yes | The route. | |
| stale | Yes | True when the TTC did not answer and the server returns a timetable it read before. | |
| times | Yes | The planned departure times, HH:MM, in order. 24:00 or later is after midnight. | |
| source | Yes | The source of the data: TTC. | |
| headsign | Yes | The destination of the direction. | |
| direction | Yes | The direction number. |