Interface TripOptions

interface TripOptions {
    entrances?: boolean;
    language?: string;
    polyline?: boolean;
    remarks?: boolean;
    scheduledDays?: boolean;
    stopovers?: boolean;
    subStops?: boolean;
}

Properties

entrances?: boolean

parse & expose entrances of stops/stations?

true
language?: string

Language of the results

en
polyline?: boolean

return a shape for the trip?

false
remarks?: boolean

parse & expose hints & warnings?

true
scheduledDays?: boolean

parse which days each journey is valid on

false
stopovers?: boolean

return stations on the way?

true
subStops?: boolean

parse & expose sub-stops of stations?

true