Line
tubeulator.api.endpoint.routes.line ¶
Accessed via dynamic method resolution under tubeulator.fetch.line
.
Example: tubeulator.fetch.line.meta_modes()
LineEndpointRoutes ¶
Bases: RouteEnum
forward_requests
class-attribute
instance-attribute
¶
Forwards any remaining requests to the back-end
meta_disruption_categories
class-attribute
instance-attribute
¶
Gets a list of valid disruption categories
meta_modes
class-attribute
instance-attribute
¶
Gets a list of valid modes
meta_service_types
class-attribute
instance-attribute
¶
Gets a list of valid ServiceTypes to filter on
meta_severity
class-attribute
instance-attribute
¶
Gets a list of valid severity codes
lines_by_modes
class-attribute
instance-attribute
¶
Gets lines that serve the given modes.
disruption_by_modes
class-attribute
instance-attribute
¶
Get disruptions for all lines of the given modes.
route_by_modes
class-attribute
instance-attribute
¶
Gets all lines and their valid routes for given modes, including the name and id of the originating and terminating stops for each route
status_by_modes
class-attribute
instance-attribute
¶
Gets the line status of for all lines for the given modes
all_routes
class-attribute
instance-attribute
¶
Get all valid routes for all lines, including the name and id of the originating and terminating stops for each route.
search_lines_routes
class-attribute
instance-attribute
¶
Search for lines or routes matching the query string
status_by_severity
class-attribute
instance-attribute
¶
Gets the line status for all lines with a given severity. A list of valid severity codes can be obtained from a call to Line/Meta/Severity
lines_by_ids
class-attribute
instance-attribute
¶
Gets lines that match the specified line ids.
arrivals_by_ids
class-attribute
instance-attribute
¶
Get the list of arrival predictions for given line ids based at the given stop
arrivals_by_ids_stop
class-attribute
instance-attribute
¶
Get the list of arrival predictions for given line ids based at the given stop
disruption_by_ids
class-attribute
instance-attribute
¶
Get disruptions for the given line ids
route_by_ids
class-attribute
instance-attribute
¶
Get all valid routes for given line ids, including the name and id of the originating and terminating stops for each route.
status_by_ids
class-attribute
instance-attribute
¶
Gets the line status of for given line ids e.g Minor Delays
status_by_ids_dates
class-attribute
instance-attribute
¶
Gets the line status for given line ids during the provided dates e.g Minor Delays
route_sequence_by_id_direction
class-attribute
instance-attribute
¶
Gets all valid routes for given line id, including the sequence of stops on each route.
stop_points_by_id
class-attribute
instance-attribute
¶
Gets a list of the stations that serve the given line id
timetable_by_id_from_stop
class-attribute
instance-attribute
¶
Gets the timetable for a specified station on the give line
timetable_by_id_from_to_stop
class-attribute
instance-attribute
¶
Gets the timetable for a specified station on the give line with specified destination