Skip to content

Journey

tubeulator.api.endpoint.routes.journey

Accessed via dynamic method resolution under tubeulator.fetch.journey.

Example: tubeulator.fetch.journey.modes()

>>> modes = fetch.journey.modes()
>>> modes[0]
Mode(IsTflService=False, IsFarePaying=True, IsScheduledService=False, ModeName='black-cab-as-customer')

JourneyEndpointRoutes

Bases: RouteEnum

forward_requests class-attribute instance-attribute

forward_requests = '/*'

Forwards any remaining requests to the back-end

journey_results class-attribute instance-attribute

journey_results = '/JourneyResults/{from}/to/{to}'

Perform a Journey Planner search from the parameters specified in simple types

modes class-attribute instance-attribute

modes = '/Meta/Modes'

Gets a list of all of the available journey planner modes