Next Phenomenal Microbrewery

    hsl-city-bikes
    TypeScript icon, indicating that this package has built-in type declarations

    1.1.1 • Public • Published

    hsl-city-bikes

    With this package you can easily fetch data about HSL city bike stations in Helsinki.

    Usage

    fetchBikeRentalStations(): Promise<IBikeRentalStation[]>;
    fetchBikeRentalStations(stationId: string): Promise<IBikeRentalStation>;
    
    interface IBikeRentalStation {
      stationId: string;
      name: string;
      bikesAvailable: number;
      spacesAvailable: number;
      lat: number;
      lon: number;
      allowDropoff: boolean;
    }

    Install

    npm i hsl-city-bikes

    DownloadsWeekly Downloads

    0

    Version

    1.1.1

    License

    ISC

    Unpacked Size

    8.25 kB

    Total Files

    4

    Last publish

    Collaborators

    • filiptypjeu