New DSBmobile API #1

Closed
opened 3 years ago by fynngodau · 1 comments

I noticed this application is using the app.dsbcontrol.de endpoint.

Since the beginning of April, the latest versions of the DSBmobile clients have been using a new API with a new endpoint at mobileapi.dsbcontrol.de. It is simpler to use than the old one (it doesn't have gzipped JSON inside JSON anymore!). I expect the old endpoint to be disabled eventually (the previous iphoneservice endpoint was also disabled), therefore, I recommend to prepare for this event by switching to the new endpoint.

I documented how it works here:
https://notabug.org/fynngodau/DSBDirect/wiki/mobileapi.dsbcontrol.de

The data format which e.g. the dsbtimetables query returns is the same as previously found somewhere in the GetData query.

I noticed this application is using the `app.dsbcontrol.de` endpoint. Since the beginning of April, the latest versions of the DSBmobile clients have been using a new API with a new endpoint at `mobileapi.dsbcontrol.de`. It is simpler to use than the old one (it doesn't have gzipped JSON inside JSON anymore!). I expect the old endpoint to be disabled eventually (the previous `iphoneservice` endpoint was also disabled), therefore, I recommend to prepare for this event by switching to the new endpoint. I documented how it works here: https://notabug.org/fynngodau/DSBDirect/wiki/mobileapi.dsbcontrol.de The data format which e.g. the `dsbtimetables` query returns is the same as previously found somewhere in the `GetData` query.
Owner

Thanks for the hint, I changed it now. Interestingly, they split it up into the request per ressource type again (I liked it more with only one request, but the old structure was a bit overengineered).

Thanks for the hint, I changed it now. Interestingly, they split it up into the request per ressource type again (I liked it more with only one request, but the old structure was a bit overengineered).
jonas-l closed this issue 3 years ago
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: vertretungsplan/integration-dsb#1
Loading…
There is no content yet.