Giter Site home page Giter Site logo

biciamo-bikes's Introduction

biciamo-bikes

This module is a command line tool that gets you the real-time info on stations. Particularly the number of bikes available for rent and the number of available docks.

Installation

  > npm install -g biciamo-bikes

Don't forget the "-g" to install it globally. (then you can run the bikes command anywhere)

Usage

On your terminal:

  > bikes `station-id`

Basically the bikes command and whatever station you want to check.

At first, you will obviously not know the id of a particular station. Run the command this command below to the list of all stations ids and names:

  > bikes

You can get that with the command bikes. It is a deliberate api design decision. The reality is that you most frequently use only 3 to 4 stations anyways. By your fourth use, you will know the id by heart (one or two digits). Then you can pretty much make the query in less a second. (Will save you a lot of time).

Api

No api to mess with. Enter the command bikes and the station-id and get an instant update (number of bikes and docks available). Enter bikes only to get the updated list of stations ids and name.

Thanks to Ekerda for his awesome project.

few lines of code.

License

MIT © Mohamed Hayibor

biciamo-bikes's People

Contributors

mohamedhayibor avatar

Watchers

 avatar  avatar  avatar

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.