Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing documentation on direct DFI-base API by DVB through http://dfi.dvb.de/ #3

Closed
jens-maus opened this issue Feb 15, 2017 · 3 comments

Comments

@jens-maus
Copy link

Since a while the DVB is directly providing a WebDFI-based API to allow to show an own web view of a certain station. For example, see here:

https://www.dvb.de/de-de/service/geschaeftskunden/abfahrtsmonitor/

While this WebDFI based solution is usually individually targeted to a certain user (you have to directly register with the DVB) there are certain things in this WebDFI API that can be used to query more information than the current vvo-online.de API allows to extract.

For example, the following view shows a web view of the "Ullersdorfer Platz" Station:

http://dfi.dvb.de/Dfi/Index?hash=8B8AD2D309A9FF86EDA86E346C132F1C

After some short reverse engineering one can actually query the direct data using the following URL:

http://dfi.dvb.de/Dfi/Departures?hash=8B8AD2D309A9FF86EDA86E346C132F1C&stopid=678

This actually returns a similar data array like the vvo-online.de query but with e.g. showing the "Steig" like I mentioned in ticket #2.

One further but trivial URL query (the current time reference) can be queried like this:

http://dfi.dvb.de/Dfi/GetTime

The question of course remains now if this DFI based API might be of any greater use for this project?!? At least I feel we should document its existence.

@kiliankoe
Copy link
Owner

Interesting! I had no idea something like this exists. Thanks for the links 😊

But yeah, this is definitely something for the list! If you want to you can go ahead and add it in or of course I can, whichever you prefer 🙃

@jens-maus
Copy link
Author

go ahead

@kiliankoe
Copy link
Owner

Done ✅

I linked to this issue to re-use what you wrote above. Might be worth migrating that into the wiki at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants