4 ms·
That looks pretty awesome. How do you get your data? Do all those bike sharing services have real-time public APIs that you connect to?
by mapleoin 13y ago
That looks pretty awesome. How do you get your data? Do all those bike sharing services have real-time public APIs that you connect to?
- Thrymr 13y agoCitibike has a json API: http://citibikenyc.com/stations/json http://citibikenyc.com/stations/json
- kh_hk 13y agoSome have (for instance NYC, kudos to them!), other services do not have anything, and data has to be scraped from their website. Most of the time it's a pain in the ass that involves many different dodgy tricks. I have a python library available at http://github.com/eskerda/pybikes http://github.com/eskerda/pybikes that unifies all the data from different sources into the same model.
- mapleoin 13y agoAwesome! Thanks for making that opensource!