Skip to content

Latest commit

 

History

History
executable file
·
32 lines (22 loc) · 556 Bytes

README.md

File metadata and controls

executable file
·
32 lines (22 loc) · 556 Bytes

node-bird-lite

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