Journey

class vbbpy.journey.Journey(origin, destination, journeyDict: dict)

Holds information about a single connection between origin and destination.

destinationStation = None
getTimeInfo() → None

Gets the length of the journey in minutes and stores it into calling object.

Returns

None

getTransfers() → None

Gets the amount of transfers and stores them in the calling object.

Returns

journeyEnd = ''
journeyLength = 0
journeyStart = ''
legs = None
numberTransfers = 0
originStation = None