TheRealMurmel

Results 7 comments of TheRealMurmel

@derhuerst I would really like to provide more help, but I'm note quite sure when I will have time to contribute here.

@derhuerst I built a small Python-based project to replay the relevant API requests, this might help someone else to re-implement the requests into hafas-client: https://github.com/TheRealMurmel/py-bahn-api

I had a look at the network traffic. **App** The app displays the following connections and their prices: ![DB_Bahn_Verbindungen.png](https://user-images.githubusercontent.com/34768586/236775592-cf93f32f-c1db-404e-a79e-13c1b1a1c8c4.png) **Request** In order to obtain the prices, the app does the...

I updated my previous comment in order to provide the curl command for the request, the response and a screenshot of the app

With respect to your first comment, the best price option triggers the following request: ```shell curl -X $'POST' \ -H $'User-Agent: Dalvik/2.1.0 (Linux; U; Android 9; Pixel 3 Build/PI)' \...

**App** ![DB_Bahn_BestPrices.png](https://user-images.githubusercontent.com/34768586/236890914-2f029857-3aac-4e05-a2c9-3ec8d66504b7.png) **Response** My first guess, the `svcResL[0].res.outConL` array contains every connection. Every element of this list is identified by the `cid` key which is structured as `AX-z` for `X`...