- Base URL:
https://stables.donkey.bike/api/public/
- Header:
"Accept": "application/com.donkeyrepublic.v7"
For the endpoints known so far, no authentication is required.
As of writing this, only endpoints getting information are known.
Hubs are the gathering points, where the vehicles wait to be rented.
- Base URL:
nearby
- Description: List all hubs within a bounding box
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. |
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"
- Base URL:
hubs/{HUB_ID}/{type}
, whereHUB_ID
is the ID from theGet hubs
endpoint andtype
is eitherbike
,ebike
,escooter
ortrailer
.
curl -X GET \
--header 'Accept:application/com.donkeyrepublic.v7' \
"https://stables.donkey.bike/api/public/hubs/hub_6004/bike"