Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • default
    • TrackerNet

Index

Constructors

Properties

appKey: string

Methods

  • getAllLinesStatus(incidentsOnly?: boolean):
  • Get the status of all lines on the network indicating any delays, disruptions or suspensions on the lines.

    Parameters

    • incidentsOnly: boolean = false

      An indication of whether only lines that have incidents should be returned. Default: false

    Returns

  • getAllStationStatus(incidentsOnly?: boolean):
  • Get the status of all stations on the network indicating any disruptions or closures of stations.

    Parameters

    • incidentsOnly: boolean = false

      Get station status information for stations with incidents only. Default: false

    Returns

  • getPredictionDetailed(line: string | number | (() => ) | (() => ) | ((pos: number) => ) | ((index: number) => ) | ((...strings: string[]) => ) | ((searchString: string, position?: number) => ) | ((searchString: string, position?: number) => ) | { (that: string): ; (that: string, locales?: string | string[], options?: CollatorOptions): } | { (regexp: string | RegExp): ; (matcher: { [match]: any }): } | { (searchValue: string | RegExp, replaceValue: string): ; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => ): ; (searchValue: { [replace]: any }, replaceValue: string): ; (searchValue: { [replace]: any }, replacer: (substring: string, ...args: any[]) => ): } | { (regexp: string | RegExp): ; (searcher: { [search]: any }): } | ((start?: number, end?: number) => ) | { (separator: string | RegExp, limit?: number): ; (splitter: { [split]: any }, limit?: number): } | ((start: number, end?: number) => ) | (() => ) | ((locales?: string | string[]) => ) | (() => ) | ((locales?: string | string[]) => ) | (() => ) | ((from: number, length?: number) => ) | (() => ) | ((pos: number) => ) | ((searchString: string, position?: number) => ) | ((searchString: string, endPosition?: number) => ) | { (form: "NFC" | "NFD" | "NFKC" | "NFKD"): ; (form?: string): } | ((count: number) => ) | ((searchString: string, position?: number) => ) | ((name: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((color: string) => ) | { (size: number): ; (size: string): } | (() => ) | ((url: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((maxLength: number, fillString?: string) => ) | ((maxLength: number, fillString?: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((regexp: RegExp) => ) | ((index: number) => ), stationCode: string | number | (() => ) | (() => ) | ((pos: number) => ) | ((index: number) => ) | ((...strings: string[]) => ) | ((searchString: string, position?: number) => ) | ((searchString: string, position?: number) => ) | { (that: string): ; (that: string, locales?: string | string[], options?: CollatorOptions): } | { (regexp: string | RegExp): ; (matcher: { [match]: any }): } | { (searchValue: string | RegExp, replaceValue: string): ; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => ): ; (searchValue: { [replace]: any }, replaceValue: string): ; (searchValue: { [replace]: any }, replacer: (substring: string, ...args: any[]) => ): } | { (regexp: string | RegExp): ; (searcher: { [search]: any }): } | ((start?: number, end?: number) => ) | { (separator: string | RegExp, limit?: number): ; (splitter: { [split]: any }, limit?: number): } | ((start: number, end?: number) => ) | (() => ) | ((locales?: string | string[]) => ) | (() => ) | ((locales?: string | string[]) => ) | (() => ) | ((from: number, length?: number) => ) | (() => ) | ((pos: number) => ) | ((searchString: string, position?: number) => ) | ((searchString: string, endPosition?: number) => ) | { (form: "NFC" | "NFD" | "NFKC" | "NFKD"): ; (form?: string): } | ((count: number) => ) | ((searchString: string, position?: number) => ) | ((name: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((color: string) => ) | { (size: number): ; (size: string): } | (() => ) | ((url: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((maxLength: number, fillString?: string) => ) | ((maxLength: number, fillString?: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((regexp: RegExp) => ) | ((index: number) => )):
  • Get detailed train prediction information for a nominated station on a nominated line within 100 minute range.

    Parameters

    • line: string | number | (() => ) | (() => ) | ((pos: number) => ) | ((index: number) => ) | ((...strings: string[]) => ) | ((searchString: string, position?: number) => ) | ((searchString: string, position?: number) => ) | { (that: string): ; (that: string, locales?: string | string[], options?: CollatorOptions): } | { (regexp: string | RegExp): ; (matcher: { [match]: any }): } | { (searchValue: string | RegExp, replaceValue: string): ; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => ): ; (searchValue: { [replace]: any }, replaceValue: string): ; (searchValue: { [replace]: any }, replacer: (substring: string, ...args: any[]) => ): } | { (regexp: string | RegExp): ; (searcher: { [search]: any }): } | ((start?: number, end?: number) => ) | { (separator: string | RegExp, limit?: number): ; (splitter: { [split]: any }, limit?: number): } | ((start: number, end?: number) => ) | (() => ) | ((locales?: string | string[]) => ) | (() => ) | ((locales?: string | string[]) => ) | (() => ) | ((from: number, length?: number) => ) | (() => ) | ((pos: number) => ) | ((searchString: string, position?: number) => ) | ((searchString: string, endPosition?: number) => ) | { (form: "NFC" | "NFD" | "NFKC" | "NFKD"): ; (form?: string): } | ((count: number) => ) | ((searchString: string, position?: number) => ) | ((name: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((color: string) => ) | { (size: number): ; (size: string): } | (() => ) | ((url: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((maxLength: number, fillString?: string) => ) | ((maxLength: number, fillString?: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((regexp: RegExp) => ) | ((index: number) => )

      A line to get predictions from e.g. "C"

    • stationCode: string | number | (() => ) | (() => ) | ((pos: number) => ) | ((index: number) => ) | ((...strings: string[]) => ) | ((searchString: string, position?: number) => ) | ((searchString: string, position?: number) => ) | { (that: string): ; (that: string, locales?: string | string[], options?: CollatorOptions): } | { (regexp: string | RegExp): ; (matcher: { [match]: any }): } | { (searchValue: string | RegExp, replaceValue: string): ; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => ): ; (searchValue: { [replace]: any }, replaceValue: string): ; (searchValue: { [replace]: any }, replacer: (substring: string, ...args: any[]) => ): } | { (regexp: string | RegExp): ; (searcher: { [search]: any }): } | ((start?: number, end?: number) => ) | { (separator: string | RegExp, limit?: number): ; (splitter: { [split]: any }, limit?: number): } | ((start: number, end?: number) => ) | (() => ) | ((locales?: string | string[]) => ) | (() => ) | ((locales?: string | string[]) => ) | (() => ) | ((from: number, length?: number) => ) | (() => ) | ((pos: number) => ) | ((searchString: string, position?: number) => ) | ((searchString: string, endPosition?: number) => ) | { (form: "NFC" | "NFD" | "NFKC" | "NFKD"): ; (form?: string): } | ((count: number) => ) | ((searchString: string, position?: number) => ) | ((name: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((color: string) => ) | { (size: number): ; (size: string): } | (() => ) | ((url: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((maxLength: number, fillString?: string) => ) | ((maxLength: number, fillString?: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((regexp: RegExp) => ) | ((index: number) => )

      A line to get predictions from e.g. "BNK"

    Returns

  • getPredictionSummary(line: string | number | (() => ) | (() => ) | ((pos: number) => ) | ((index: number) => ) | ((...strings: string[]) => ) | ((searchString: string, position?: number) => ) | ((searchString: string, position?: number) => ) | { (that: string): ; (that: string, locales?: string | string[], options?: CollatorOptions): } | { (regexp: string | RegExp): ; (matcher: { [match]: any }): } | { (searchValue: string | RegExp, replaceValue: string): ; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => ): ; (searchValue: { [replace]: any }, replaceValue: string): ; (searchValue: { [replace]: any }, replacer: (substring: string, ...args: any[]) => ): } | { (regexp: string | RegExp): ; (searcher: { [search]: any }): } | ((start?: number, end?: number) => ) | { (separator: string | RegExp, limit?: number): ; (splitter: { [split]: any }, limit?: number): } | ((start: number, end?: number) => ) | (() => ) | ((locales?: string | string[]) => ) | (() => ) | ((locales?: string | string[]) => ) | (() => ) | ((from: number, length?: number) => ) | (() => ) | ((pos: number) => ) | ((searchString: string, position?: number) => ) | ((searchString: string, endPosition?: number) => ) | { (form: "NFC" | "NFD" | "NFKC" | "NFKD"): ; (form?: string): } | ((count: number) => ) | ((searchString: string, position?: number) => ) | ((name: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((color: string) => ) | { (size: number): ; (size: string): } | (() => ) | ((url: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((maxLength: number, fillString?: string) => ) | ((maxLength: number, fillString?: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((regexp: RegExp) => ) | ((index: number) => )):
  • This will return train prediction information for a nominated line within 100 minute range

    Parameters

    • line: string | number | (() => ) | (() => ) | ((pos: number) => ) | ((index: number) => ) | ((...strings: string[]) => ) | ((searchString: string, position?: number) => ) | ((searchString: string, position?: number) => ) | { (that: string): ; (that: string, locales?: string | string[], options?: CollatorOptions): } | { (regexp: string | RegExp): ; (matcher: { [match]: any }): } | { (searchValue: string | RegExp, replaceValue: string): ; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => ): ; (searchValue: { [replace]: any }, replaceValue: string): ; (searchValue: { [replace]: any }, replacer: (substring: string, ...args: any[]) => ): } | { (regexp: string | RegExp): ; (searcher: { [search]: any }): } | ((start?: number, end?: number) => ) | { (separator: string | RegExp, limit?: number): ; (splitter: { [split]: any }, limit?: number): } | ((start: number, end?: number) => ) | (() => ) | ((locales?: string | string[]) => ) | (() => ) | ((locales?: string | string[]) => ) | (() => ) | ((from: number, length?: number) => ) | (() => ) | ((pos: number) => ) | ((searchString: string, position?: number) => ) | ((searchString: string, endPosition?: number) => ) | { (form: "NFC" | "NFD" | "NFKC" | "NFKD"): ; (form?: string): } | ((count: number) => ) | ((searchString: string, position?: number) => ) | ((name: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((color: string) => ) | { (size: number): ; (size: string): } | (() => ) | ((url: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((maxLength: number, fillString?: string) => ) | ((maxLength: number, fillString?: string) => ) | (() => ) | (() => ) | (() => ) | (() => ) | ((regexp: RegExp) => ) | ((index: number) => )

      A line to get predictions from e.g. "C"

    Returns

Generated using TypeDoc