Skip to content

jzarca01/node-bird-lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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