apiTimetable

suspend fun apiTimetable(routeId: RouteId, shapeId: ShapeId, from: Instant, language: Language = Language.GREEK): Result<Timetable>

API CALL NEEDED

Fetch the timetable for a route and shape

Return

timetable from oseth

Since

1.0.0

Parameters

routeId

the route to get the information from

shapeId

the route shape to get the information from

from

the instant to get the timetable from - Accounts for 24h

language

the language to get the information in