ubahnverleih / WoBike

Documentation of Bike Sharing APIs 🚴🛴🛵
952 stars 131 forks source link

Bird API areas endpoint wrong? #215

Closed patrickjane closed 3 years ago

patrickjane commented 3 years ago

As per https://github.com/ubahnverleih/WoBike/blob/master/Bird.md the endpoint for areas seems to be the same as for scooters, except for different hostnames: https://api-bird.prod.birdapp.com/bird/nearby https://api.birdapp.com/bird/nearby

However both endpoints will return scooters for me, and no areas. Result is like this:

{
   "birds": [ ... ]
}

How can I fetch a list of no-parking zones for Bird?

patrickjane commented 3 years ago

Found it here: https://github.com/ubahnverleih/WoBike/pull/170

The endpoint should be https://api.birdapp.com/area/nearby