Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jzarca01/node-bird-lite
The lite version of node-bird
https://github.com/jzarca01/node-bird-lite
api api-wrapper async bird nodejs scooter scooter-sharing
Last synced: about 1 month ago
JSON representation
The lite version of node-bird
- Host: GitHub
- URL: https://github.com/jzarca01/node-bird-lite
- Owner: jzarca01
- License: apache-2.0
- Created: 2018-09-20T14:24:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-11T16:57:09.000Z (over 3 years ago)
- Last Synced: 2024-04-14T11:33:06.955Z (8 months ago)
- Topics: api, api-wrapper, async, bird, nodejs, scooter, scooter-sharing
- Language: JavaScript
- Homepage:
- Size: 259 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-bird-lite
An API for Bird Scooters
This is the _Lite Version_ of [https://github.com/jzarca01/node-bird](https://github.com/jzarca01/node-bird)## Usage
```javascript
const Bird = require("node-bird-lite");
const bird = new Bird();
```For a cool example, see _example/index.js_
### Log in
```javascript
bird.login();
```### Get Scooters Nearby
```javascript
bird.getScootersNearby(latitude, longitude, (radius = 500));
radius in meters;
```### Get config by location
```javascript
bird.getConfigByLocation({ latitude, longitude });
```