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

    Function fetchGTFSSystems

    • General Bikeshare Feed Specification (GBFS) Reader

      Fetches the list of GBFS systems from the github CSV file

      import { fetchGTFSSystems } from 'gis-tools-ts';

      const systems = await fetchGTFSSystems();
      console.log(systems);

      Parameters

      • url: string = 'https://raw.githubusercontent.com/MobilityData/gbfs/refs/heads/master/systems.csv'

        The URL of the CSV file. The default is the one used by GBFS. This variable exists for testing

      Returns Promise<GBFSSystem[]>

      • an array of systems