Giter VIP home page Giter VIP logo

node-bird-lite's Introduction

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

node-bird-lite's People

Contributors

jzarca01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

node-bird-lite's Issues

Bird scooter codes?

The WoBike API doesn't seem to pull scooter codes anymore. Can we use this API to see that data or use the Bird ID to pull the scooter code?

Earnings

I would like to pull in earnings!

New Feature; give the option to set a custom timeout for axios

Hello All!

Last week, I noticed that bird services were taking a long time to respond. This long response time propagated to my micro service, since it was relying on node-bird to handle the timeout itself. I propose that we implement a function that will modify the axios config such that we can set our own timeout after instantiating the service. We will leave the default timeout as is (i.e. 0) so as to not break existing projects.

What do you all think of my proposal? Any feedback will be greatly appreciated!

Regards

Looking to contact you with questions

Hey @jzarca01,

I am in Chicago, 10 companies have deployed scooters around the city for the summer in an effort to pilot the program. I want to learn more about API wrappers so I was looking to build something that compared usage statistics between each of the companies that would produce live updates so we could see details of their use over the course of the pilot program.

When I started doing research I realized quickly there are no direct APIs to most of the scooter companies and the rest are only accessible via these API wrappers that I don't really know how to use. Do you have any suggestions for getting started with your code here?

How Can I See Bird Scooter Prices?

Hi,

I'm trying to get the price for Bird scooter and can't see in the GetscooterDetalis parameter which represrent the price. I'm a contractor (Verified it also through the GetProfile) so I should see the prices.
please help.

Thanks,
Amitay

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.