yoshimo

Results 329 comments of yoshimo

Routing requests are send to ` https://whitelabel-app-api-bvg.trafi.com/v2/routes?startLat=52.521918&startLng=13.413215&startName=Alexanderplatz&endLat=52.418454&endLng=13.588996&endName=M%C3%BCggelbergallee%20%28Berlin%29&time=2020-02-08T11%3A05%3A00%2B0100&isArrival=false` Which comes down to > https://whitelabel-app-api-bvg.trafi.com/v2/routes? > startLat=52.521918 > startLng=13.413215 > startName=Alexanderplatz > endLat=52.418454 > endLng=13.588996 > endName=Müggelbergallee (Berlin) > time=2020-02-08T11:05:00+0100 > isArrival=false...

The Trafi App itself seems to use slightly newer api (v2/v3) and calls `https://api.trafi.com/api/v2/config?language=en&version=10623400` to get its initial info about news and available cities and their modes of transportation. As...

Following the Sao Paulo example we have `https://api.trafi.com/api/v4/mapobjects?userlocationid=saopaulo&includeVehicles=true&includeStops=true&includeTrafficJams=false&bounds=%2d23%2e22983893%2c%2d46%2e94755733%3b%2d23%2e22983893%2c%2d46%2e31910268%3b%2d24%2e30874941%2c%2d46%2e31910268%3b%2d24%2e30874941%2c%2d46%2e94755733%3b&includeWalking=false&enableCarSharing=true` ``` https://api.trafi.com/api/v4/mapobjects?userlocationid=saopaulo includeVehicles=true includeStops=true includeTrafficJams=false bounds=-23.22983893,-46.94755733;-23.22983893,-46.31910268;-24.30874941,-46.31910268;-24.30874941,-46.94755733; includeWalking=false enableCarSharing=true ``` bounds & Id come from the previous overall request. The trafi app prefers...

Sample from uber yellow /turqoise in Istanbul. `https://api.trafi.com/api/v2/ondemand?regionId=istanbul&lat=41.05033297083264&lng=28.99274088442326` Only the pickup location is used, not the drop off. [api_v2_ondemand_taxi_response.json.txt](https://github.com/ubahnverleih/WoBike/files/4176826/api_v2_ondemand_taxi_response.json.txt)

`https://zvipp-api.joyridecity.bike/api/v2/getEnvironmentData` gives you > > { > "status": "success", > "data": { > "cognitoRegion": "us-west-2", > "userPoolId": "us-west-2_g7LsgdsFX", > "clientId": "5p042cvht841i6b3m1lpkt0j92", > "clientSecret": "s2362lilc6oijiacmrkakal55eriosdsjtsna3ql3q60226if6g", > "bucketAccesskey": "AKIAQYFHEBS5MYM24EMB", > "bucketSecretkey": "V54fZlLfAkoIgVD4amxMKFE7V0JJnjmAN\/R6j1Tm",...

To report broken bikes the app interacts with: `mvgmeinrad.electricfeel.net/mvgmeinrad_api/v1/damage_reports` `{"body":"","tags":["lock","saddle","light","tire","break"],"vehicle_id":""} ` the tags obviously are optional and the answer is either `{"error":"not_found","details":"unable to find vehicle"}` if the vehicle id is...

Stations can be of two types: blue stations like Bismarckplatz where you just go for a free box green stations like Erzbergerstraße where you lock the bike with the app....

[1_raw.hcy.txt](https://github.com/ubahnverleih/WoBike/files/4022015/1_raw.hcy.txt) [2_raw.hcy.txt](https://github.com/ubahnverleih/WoBike/files/4022016/2_raw.hcy.txt) [3_raw.hcy.txt](https://github.com/ubahnverleih/WoBike/files/4022017/3_raw.hcy.txt) The replies from the rest api over websocket about available scooters and bikes are minified so it takes additional effort to match the letters to their meaning...

how did you find these?

@njoylab is that something one can adapt to #81 too? That wire traffic does't explicitly mention rest