ubahnverleih / WoBike

Documentation of Bike Sharing APIs 🚴🛴🛵
943 stars 132 forks source link

VOI Scooters outside of boundaries #122

Open cristianst opened 4 years ago

cristianst commented 4 years ago

The API Call to : https://api.voiapp.io/v1/vehicle/status/ready?lat=53.499286268198425&lng=10.002273358317433 returns too many scooters, like around 900 even tho they are not within the boundaries.

I've tried to use the a radius parameter but it seems like its being ignored. I need this because fetching too many scooters even tho the user didnt change the map view is not very performant.

PierrickP commented 4 years ago

@cristianst Voi return a bit what they want :D I didn't found a parameter to adjusts (more or less) the number of vehicles. You must filter on your side

ps:your request return vehicles on 3 distinct cities image

rrozek commented 4 years ago

don't complain on too many vehicles in a response! they might be listening!