yoshimo
yoshimo
@Extreme-Mildness , do the tools mentioned help you?
The BVG app communicates with > https://whitelabel-app-api-bvg.trafi.com We have a POST request to `https://whitelabel-app-api-bvg.trafi.com/v1/home/map/objects` with > { > "northEast": { > "lat": 52.57148415232025, > "lng": 13.537374772131441 > }, > "southWest":...
Category CarSharing in the app can be queried from `https://whitelabel-app-api-bvg.trafi.com/v1/ondemand/sharing/list?providerIds=driveby` [ondemand_sharing_list_driveby_response.json.txt](https://github.com/ubahnverleih/WoBike/files/4176645/ondemand_sharing_list_driveby_response.json.txt) with the driveby vehicle id you can query additional details `https://whitelabel-app-api-bvg.trafi.com/v1/ondemand/sharing/vehicle?providerId=driveby&vehicleId=driveby_483` [ondemand_sharing_driveby_vehicle_details.json.txt](https://github.com/ubahnverleih/WoBike/files/4176646/ondemand_sharing_driveby_vehicle_details.json.txt)
The Berlkönig on demand ridehail and sharing service: App requests `https://whitelabel-app-api-bvg.trafi.com/v1/ondemand/ridehailing/products?providerId=berlkonig` to get the boundaries of the service area, wether it is currently active and some details about prices and...
For Kickscooters we can query `https://whitelabel-app-api-bvg.trafi.com/v1/ondemand/sharing/list?providerIds=tier` This gives back the list of current scooters from tier in json format: [Ondemand_sharing_list_tier_response.json.txt](https://github.com/ubahnverleih/WoBike/files/4176663/Ondemand_sharing_list_tier_response.json.txt) Additional infos about the scooter you can get from `https://whitelabel-app-api-bvg.trafi.com/v1/ondemand/sharing/vehicle?providerId=tier&vehicleId=tier_222607`...
Bike Sharing is done by Deezer Nextbike in Jelbi: `https://whitelabel-app-api-bvg.trafi.com/v1/ondemand/sharing/list?providerIds=nextbike` Which lists all available bikes in json. [ondemand_sharing_list_nextbike_response.json.txt](https://github.com/ubahnverleih/WoBike/files/4176676/ondemand_sharing_list_nextbike_response.json.txt) Details as usual from `https://whitelabel-app-api-bvg.trafi.com/v1/ondemand/sharing/vehicle?providerId=nextbike&vehicleId=nextbike_15913 [ondemand_sharing_nextbike_vehicle_details.json.txt](https://github.com/ubahnverleih/WoBike/files/4176680/ondemand_sharing_nextbike_vehicle_details.json.txt)
Scooters are provided by `https://whitelabel-app-api-bvg.trafi.com/v1/ondemand/sharing/list?providerIds=emmy`
For trains we query `https://whitelabel-app-api-bvg.trafi.com/v1/transit/schedules?transportIds=debe_trainz` Which gives us the list of possible lines: [transit_schedules_trains_response.json.txt](https://github.com/ubahnverleih/WoBike/files/4176684/transit_schedules_trains_response.json.txt) Then we ask `https://whitelabel-app-api-bvg.trafi.com/v1/transit/schedules/debe_19688_100/tracks/stops?visibleTracksOnly=true'` with the selected line id, in this case "debe_19688_100" for the RB1...
S-Bahn: [](https://whitelabel-app-api-bvg.trafi.com/v1/transit/schedules?transportIds=debe_sbahn) U-Bahn: `https://whitelabel-app-api-bvg.trafi.com/v1/transit/schedules?transportIds=debe_ubahn` Tram: `https://whitelabel-app-api-bvg.trafi.com/v1/transit/schedules?transportIds=debe_berlintram%2Cdebe_potsdamtram%2Cdebe_suburbtram` Bus: `https://whitelabel-app-api-bvg.trafi.com/v1/transit/schedules?transportIds=debe_regiobus%2Cdebe_bvgbus` work identical
Even the ferry uses that kind of api-calls: `https://whitelabel-app-api-bvg.trafi.com/v1/transit/schedules?transportIds=debe_ferry`