New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

city-bikes-cli

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

city-bikes-cli

Use the citybik.es API to find available bikes and open slots for your city's bikesharing system

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
2
Created
Source

city-bikes-cli

This is a command-line interface for checking the status of your local bike-sharing stations.

Demo

Installation

  > npm install -g city-bikes-cli

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

Usage

On your terminal:

Usage: bikes                          # Display available bikes/slots for your default station
   or: bikes <station-id>             # Display available bikes/slots for station by id
   or: bikes <station-alias>          # Display available bikes/slots for station by custom name
   or: bikes set-city <service-id>    # Set your default city
   or: bikes set <param> <station-id>
   or: bikes get <param>
-----------------------------------
  <param> can be work, home, mom, coffee or whatever string

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

Thanks to Ekerda for his awesome project, we are pulling the live data from his version 2 api.

Team

CourajsMohamed Hayibor
CourajsMohamed Hayibor

License

MIT

Keywords

bike-sharing

FAQs

Package last updated on 13 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts