Docs

Apart from Neural Bikes an iOS app and some sort of web app that shows the capabilities it exposes a public API with data available to use.

What cities are available? As of now:

For each city there are three endpoints available:

To query a specific station you should use the station identifier provided by either the Open Data catalog of each city or the ones used on each app. The link for each one is linked on each city beforehand.

Fields

Both today and prediction return the same fields. Only the number of them changes as the current availability is constantly being updated every ten minutes. The values field below on the /prediction/ endpoint has a constant length of 144 as it contains samples for each hour of the day in ten minutes intervals. For the /today value this is constantly growing through the day as new samples are gathered.

├── values ─ [String: Int]
├── values ─ [String: Int]
├── donate ─ String
├── license ─ String
└── last_updated
    

Examples

The format for a sample query is as follows.

https://neuralbike.app/api/v1/today/bilbao/9018452
    

Final thoughts

This project is able to exist thanks to Open Data catalogs. Data is gathered on a local server at home on ten minutes intervals. With that growing data catalog a neural network is trained that creates daily predictions of bike sharing availability.

Everything is free to use and tinker with. Even all of the code has been open sourced. If you're building something with this or would like to support the development of the project consider donating some dollarinos so I can enjoy some coffee every so once in a while.

Also, ping me on Twitter or via mail if something's wrong or you know, whatever.