francoisfds / BikeSharingHub

Shared bikes for Android
GNU General Public License v3.0
18 stars 10 forks source link

Show free (not parked at a station) bikes as well #4

Open mirabilos opened 3 years ago

mirabilos commented 3 years ago

Hi,

with Nextbike, we can also have bikes not parked at a station (in the pink area on the Nextbike map), but this äpp shows only those parked at stations (which are pretty much always empty here).

I was hoping this äpp could show them on a map even on Open Source Android (i.e. without Google Play services) where the Nextbike äpp works for renting but does not show the map.

francoisfds commented 3 years ago

Hello !

The data diplayed by the application comes from an API (https://citybik.es), which provides a model of stations/docks having bikes and empty slots. For now this model does not handle dockless bikes (see https://github.com/eskerda/pybikes/issues/190#issuecomment-355411609). That's why at the moment only the bikes which are attached to a station can show up, unfortunately.

As a matter of fact, a pull request have been already opened to bring support for Nextbike's roaming bikes in the API (https://github.com/eskerda/pybikes/pull/417).

Regards.

mirabilos commented 3 years ago

Hi!

[…]

As a matter of fact, a pull request have been already opened to bring support for Nextbike's roaming bikes in the API (https://github.com/eskerda/pybikes/pull/417).

Thanks for the detailled response and being already working on it.

bye, //mirabilos -- „Cool, /usr/share/doc/mksh/examples/uhr.gz ist ja ein Grund, mksh auf jedem System zu installieren.“ -- XTaran auf der OpenRheinRuhr, ganz begeistert (EN: “[…]uhr.gz is a reason to install mksh on every system.”)