Skip to content

Crowding

tubeulator.api.endpoint.routes.crowding

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

Example: tubeulator.fetch.crowding.dow_crowding()

This method isn't working right now, but it's called like this:

>>> dow_crowding = fetch.crowding.dow_crowding(Naptan="HUBZWL", DayOfWeek="Mon")

CrowdingEndpointRoutes

Bases: RouteEnum

naptan_crowding class-attribute instance-attribute

naptan_crowding = '/{Naptan}'

Returns crowding information for Naptan

live_crowding class-attribute instance-attribute

live_crowding = '/{Naptan}/Live'

Returns live crowding information for Naptan

dow_crowding class-attribute instance-attribute

dow_crowding = '/{Naptan}/{DayOfWeek}'

Returns crowding information for Naptan for Day of Week