Last active
March 28, 2025 17:06
-
-
Save xnumad/c4b90898834d7cfc2a765cbb772183ce to your computer and use it in GitHub Desktop.
Deutsche Bahn Call a Bike reverse engineering API calls
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /api/v1/availabilities?bikeNumber=17799 | |
- if bike not available: "[]" (generic error message "bike currently not available") | |
- if bike available for rent: Bike info (incl. its location). | |
POST /aping/v2/bookingsByLicensePlate | |
to borrow a bike by license plate (sends your own location) | |
POST /aping/v2/actions | |
with JSON containing "type" field with value "pause" or "resume" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment