WoBike
WoBike copied to clipboard
Bird radius
Hi,
I found that the radius parameter in bird request doesn't work. It is required because without it I get an empty result but no matter the value is the result is the same. Has anyone the same problem? Maybe I do something wrong.
Here is my request:
curl -X GET \ 'https://api.birdapp.com/bird/nearby?latitude=52.235325&longitude=21.033045&radius=9999' \ -H 'Accept: */*' \ -H 'App-Version: 4.41.0' \ -H 'Authorization: <token>' \ -H 'Cache-Control: no-cache' \ -H 'Connection: keep-alive' \ -H 'Device-id: 8f984fe6-3ad8-401f-b1ee-65e1e1b5fc7e' \ -H 'Host: api.birdapp.com' \ -H 'Location: {"latitude":52.235325,"longitude":21.033045,"altitude":500,"accuracy":100,"speed":-1,"heading":-1}' \ -H 'Postman-Token: a8d1465b-ba04-44da-914a-7f17706fcb18,14fbebdc-9c99-4b81-b93f-e244496c43ea' \ -H 'accept-encoding: gzip, deflate' \ -H 'cache-control: no-cache' \ -H 'cookie: __cfduid=d6f690f54033624e157630b93bad3c40f1561664390' \ -b __cfduid=d6f690f54033624e157630b93bad3c40f1561664390
Best Damian
The radius in your example is too large. I think they must've changed something recently and added some upper limit for the response data size.
I'm also hitting this as well - passing any value for the radius
param gives you the same result set.
Has anyone gotten that parameter to work?
Same here- tried a radius of 1000 and 5000 with no change in the resulting scooters.
Try something between 600 to 1000.
Tried 10, 100, 300, 600. All returning 250 birds, not less not more.
I also seem to always get 250 scooters
From what I can tell, radius is a number in meters. It will always max out at 260 scooters though, so a smaller radius with a more precise location is optimal. It seems like there might. also be a minimum and maximum radius, but idk what that is.
Same issue here, Im going to see if I can generate a full list by moving the latitude and longitude around and filtering any scooters I've already received