Skip to content
Jon edited this page Jan 1, 2017 · 7 revisions
timetable.next_visit(station, route, timestamp) -> (ETA, ETD)
rpc
Returns the next estimated arrival and departure pair of route at station where the departure time is after timestamp.
timetable.next_visits(station, route, timestamp, n) -> [(ETA, ETD)]
rpc
Returns the next n estimated arrivals and departure pairs of route at station where the departure times are after timestamp.
timetable.last_visit(station, route, timestamp) -> (ETA, ETD)
rpc
Returns the last estimated arrival and departure pair of route at station where the departure time is before timestamp.
timetable.last_visits(station, route, timestamp, n) -> [(ETA, ETD)]
rpc
Returns the last n estimated arrivals and departure pairs of route at station where the departure times are before timestamp.
Clone this wiki locally