Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

allbikes

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

allbikes

Bike Share API for all Bike Shares.

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13
increased by225%
Maintainers
1
Weekly downloads
 
Created
Source

allbikes API NPM Version BuildStatus

allbikes is an API that provides live station information for Bixi-built Bike Share programs around the world.

Stations currently supported and their respective API reference codes (city code).

Bike ShareCitycity_id
Aspen WE-cycleAspen, COASE
Barclay's Cycle HireLondon, UKLHR
Bay Area Bike ShareSan Francisco, CASFO
Bike ChattanoogaChattanooga, TNCHA
Capital Bike ShareWashington, D.C.DCA
Citi BikeNew York City, NYJFK
CoGoColumbus, OHCMH
DivvyChicago, ILORD
HubwayBoston, MABOS
Melbourne Bike ShareMelbourne, VicMEL
Montreal BixiMontreal, QCYUL
Nice RideMinneapolis, MNMSP
Ottawa BixiOttawa, OntYOW
Toronto BixiToronto, OntYYZ

goal

While every Bike Share program has a live JSON or XML feed, the data is presented differently thus making a universal bike share app difficult to create. This project aims to provide a easy-to-use solution for all bike-share data queries from around the world.

implemented

all stations

/bikeshare/stations

Example: http://www.sjanderson.org/bikeshare/stations

Returns a JSON array of all stations around the world.

stations from a city

/bikeshare/city/:city_id

Example: http://www.sjanderson.org/bikeshare/city/SFO

Returns a JSON array of stations from a city. Reference the table above for city_ids, I used airport codes.

all stations sorted from closest to farthest

/bikeshare/stations/:lat/:long/

Example: http://www.sjanderson.org/bikeshare/stations/37.42/-122.13

Returns a JSON array of all stations sorted by closest to farthest.

stations from a city sorted from closest to farthest

/bikeshare/city/:city/:lat/:long/

Returns a JSON array of stations from a city sorted by closest to farthest.

Example: http://www.sjanderson.org/bikeshare/city/SFO/37.42/-122.13

contact

Twitter: @SJAndersonLA

Keywords

FAQs

Package last updated on 30 Aug 2014

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc