transitio.FeedBuilder.add_frequency_trip#
- FeedBuilder.add_frequency_trip(route_id, service_id, trip_id, stops, *, start, end, headway, shape_id=None, **fields)#
Add a frequency-based (headway) trip.
stopsis a sequence of(stop_id, offset)where the offset (seconds, orH:MM:SS) is the travel time from the start of a run; the template run departs atstartand a run starts everyheadwayseconds untilend.