node-bird-lite

February 14, 2020 ยท View on GitHub

An API for Bird Scooters This is the Lite Version of https://github.com/jzarca01/node-bird

Usage

const Bird = require("node-bird-lite");
const bird = new Bird();

For a cool example, see example/index.js

Log in

bird.login();

Get Scooters Nearby

bird.getScootersNearby(latitude, longitude, (radius = 500));
radius in meters;

Get config by location

bird.getConfigByLocation({ latitude, longitude });

Contents

  1. 1Usage
  2. 1.1Log in
  3. 1.2Get Scooters Nearby
  4. 1.3Get config by location