gis-tools-ts - v0.6.0
    Preparing search index...

    Interface GBFSStationInformationV20

    GBFS Station Information V2.0

    List of all stations, their capacities, and locations. REQUIRED for systems utilizing docks.

    interface GBFSStationInformationV20 {
        data: {
            stations: {
                address?: string;
                capacity?: number;
                cross_street?: string;
                lat: number;
                lon: number;
                name: string;
                post_code?: string;
                region_id?: string;
                rental_methods?: (
                    | "KEY"
                    | "CREDITCARD"
                    | "PAYPASS"
                    | "APPLEPAY"
                    | "ANDROIDPAY"
                    | "TRANSITCARD"
                    | "ACCOUNTNUMBER"
                    | "PHONE"
                )[];
                rental_uris?: { android?: string; ios?: string; web?: string };
                short_name?: string;
                station_id: string;
            }[];
        };
        last_updated: number;
        ttl: number;
        version: "2.0";
    }
    Index

    Properties

    data: {
        stations: {
            address?: string;
            capacity?: number;
            cross_street?: string;
            lat: number;
            lon: number;
            name: string;
            post_code?: string;
            region_id?: string;
            rental_methods?: (
                | "KEY"
                | "CREDITCARD"
                | "PAYPASS"
                | "APPLEPAY"
                | "ANDROIDPAY"
                | "TRANSITCARD"
                | "ACCOUNTNUMBER"
                | "PHONE"
            )[];
            rental_uris?: { android?: string; ios?: string; web?: string };
            short_name?: string;
            station_id: string;
        }[];
    }

    Contains station information for the system.

    Type declaration

    • stations: {
          address?: string;
          capacity?: number;
          cross_street?: string;
          lat: number;
          lon: number;
          name: string;
          post_code?: string;
          region_id?: string;
          rental_methods?: (
              | "KEY"
              | "CREDITCARD"
              | "PAYPASS"
              | "APPLEPAY"
              | "ANDROIDPAY"
              | "TRANSITCARD"
              | "ACCOUNTNUMBER"
              | "PHONE"
          )[];
          rental_uris?: { android?: string; ios?: string; web?: string };
          short_name?: string;
          station_id: string;
      }[]

      Array of station objects.

    last_updated: number

    Last time the data in the feed was updated in POSIX time. Minimum: 1450155600

    ttl: number

    Number of seconds before the data in the feed will be updated again (0 if the data should always be refreshed). Minimum: 0

    version: "2.0"

    GBFS version number to which the feed conforms, according to the versioning framework. Const: 2.0