Module gtfs

Module gtfs 

Source
Expand description

Standardised GTFS types which are returned from the Auckland Transport API.

Structs§

Entity
Position
StopTimeEvent
StopTimeUpdate
TripDescriptor
TripUpdate
VehicleDescriptor
VehiclePosition

Enums§

CongestionLevel
OccupancyStatus
ScheduleRelationship
ScheduleRelationshipTripDescriptor
VehicleStopStatus

Functions§

deserialize_bearing
Serialize, Deserializes a bearing which is sent in the realtime GTFS output from Auckland Transport. Requires a seperate deserialization function due to AT sending a float, integer, string or nothing for this field.