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;
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    0
    • latest

Version History

Package Sidebar

Install

npm i hsl-city-bikes

Weekly Downloads

0

Version

1.1.1

License

ISC

Unpacked Size

8.25 kB

Total Files

4

Last publish

Collaborators

  • filiptypjeu