Plan a trip by public transport in Tbilisi
transit_plan_tripPlans a trip by public transport of the TTC in Tbilisi between two points, given as coordinates. Returns up to 3 itineraries with each leg: walk or ride, route, stops, instants, distance in metres. Use transit_search_places to get coordinates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The end point in Tbilisi. | |
| date | No | The date of depart_at or arrive_by, YYYY-MM-DD. The default is today in Tbilisi. | |
| from | Yes | The start point in Tbilisi. | |
| time | No | The time of depart_at or arrive_by, HH:MM in Tbilisi. Required with them. | |
| kinds | No | The kinds to ride: bus, minibus, metro, cable_car. bus and minibus go together. Empty gives every kind. A walk is always allowed. | |
| timing | No | leave_now, depart_at, or arrive_by. The default is leave_now. | |
| language | No | The language of the names: ka or en. The default is en. | |
| preference | No | fastest, less_walking, or fewer_transfers. The default is fastest. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why the list is empty. | |
| as_of | Yes | The instant at which the server read the plan, RFC 3339. | |
| source | Yes | The source of the data: TTC. | |
| itineraries | Yes | Up to 3 ways to travel, in the order of the TTC. |