Interface Profile

A profile is a specific customisation for each endpoint. It parses data from the API differently, add additional information, or enable non-default methods.

interface Profile {
    endpoint: string;
    journeysFromTrip?: boolean;
    journeysWalkingSpeed?: boolean;
    lines?: boolean;
    locale: string;
    products: readonly ProductType[];
    radar?: boolean;
    reachableFrom?: boolean;
    refreshJourney?: boolean;
    remarks?: boolean;
    remarksGetPolyline?: boolean;
    timezone: string;
    trip?: boolean;
    tripsByName?: boolean;
}

Properties

endpoint: string
journeysFromTrip?: boolean
journeysWalkingSpeed?: boolean
lines?: boolean
locale: string
products: readonly ProductType[]
radar?: boolean
reachableFrom?: boolean
refreshJourney?: boolean
remarks?: boolean
remarksGetPolyline?: boolean
timezone: string
trip?: boolean
tripsByName?: boolean