Interface RefreshJourneyOptions

interface RefreshJourneyOptions {
    entrances?: boolean;
    generateUnreliableTicketUrls?: boolean;
    language?: string;
    polylines?: boolean;
    remarks?: boolean;
    scheduledDays?: boolean;
    stopovers?: boolean;
    subStops?: boolean;
    tickets?: boolean;
}

Properties

entrances?: boolean

parse & expose entrances of stops/stations?

true
generateUnreliableTicketUrls?: boolean

try to generate bahn.de URLs to the tickets

false
language?: string

language

en
polylines?: boolean

return a shape for each leg?

false
remarks?: boolean

parse & expose hints & warnings?

true
scheduledDays?: boolean

parse & expose dates the journey is valid on?

false
stopovers?: boolean

return stations on the way?

false
subStops?: boolean

parse & expose sub-stops of stations?

true
tickets?: boolean

return tickets? only available with some profiles

false