sharedmobility.github.io

Donkey Republic

Authentication

For the endpoints known so far, no authentication is required.

Endpoints

As of writing this, only endpoints getting information are known.

Get hubs

Hubs are the gathering points, where the vehicles wait to be rented.

Parameter  Value(s) Description
top_right ne_lat,ne_lon  North-East coordinates of the bounding box
bottom_left sw_lat,sw_lon South-West coordinates of the bounding box
filter_type box Unknown, but mandatory.

Example

curl -X GET \
  --header 'Accept:application/com.donkeyrepublic.v7' \
  "https://stables.donkey.bike/api/public/nearby?top_right=52.51778%2C13.38200&bottom_left=52.51509%2C13.37627&filter_type=box"

Get more information about hub

Example

curl -X GET \
  --header 'Accept:application/com.donkeyrepublic.v7' \
  "https://stables.donkey.bike/api/public/hubs/hub_6004/bike"