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 Share | City | city_id |
---|---|---|
Aspen WE-cycle | Aspen, CO | ASE |
Barclay's Cycle Hire | London, UK | LHR |
Bay Area Bike Share | San Francisco, CA | SFO |
Bike Chattanooga | Chattanooga, TN | CHA |
Capital Bike Share | Washington, D.C. | DCA |
Citi Bike | New York City, NY | JFK |
CoGo | Columbus, OH | CMH |
Divvy | Chicago, IL | ORD |
Hubway | Boston, MA | BOS |
Melbourne Bike Share | Melbourne, Vic | MEL |
Montreal Bixi | Montreal, QC | YUL |
Nice Ride | Minneapolis, MN | MSP |
Ottawa Bixi | Ottawa, Ont | YOW |
Toronto Bixi | Toronto, Ont | YYZ |
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.
/bikeshare/stations
Example: http://www.sjanderson.org/bikeshare/stations
Returns a JSON array of all stations around the world.
/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_id
s, I used airport codes.
/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.
/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
Twitter: @SJAndersonLA