garaud / jitenshea

Bicycle-sharing data analysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add status feature in end-point API

armgilles opened this issue · comments

When calling API like http://data.oslandia.io/bikes/api/bordeaux/timeseries/station/105?start=2020-10-13&stop=2020-10-20 we got this kind of result (structured in Pandas DataFrame here)

available_bikes available_stands id name nb_stands ts
0 8 12 105 Rue du Mirail 20 2020-10-14T00:02:13
1 8 12 105 Rue du Mirail 20 2020-10-14T00:07:13
2 8 12 105 Rue du Mirail 20 2020-10-14T00:12:13
3 8 12 105 Rue du Mirail 20 2020-10-14T00:17:13
4 8 12 105 Rue du Mirail 20 2020-10-14T00:23:13

Could you add status feature to know if the station is open or closed ?