Routes of a line
line_routesGet the direction variants and route codes for a specific Athens OASA line, including destination and length, to support further stop and timetable lookups.
Instructions
The direction variants (routes) of one OASA line, with destination and length. A line usually has an outbound and a return route, and often extra variants for night service, weekends or diversions. Other tools need the route_code from here. Covers Attica (greater Athens) only: OASA buses, trolleys, metro and tram.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | Yes | Line number ("040"), line_code, or line name in either script. | |
| language | No | Which name language to show. 'both' pairs the Greek name with the English. | both |