-
Notifications
You must be signed in to change notification settings - Fork 14
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
API gone? #19
Comments
There seems to be a new API. A search request for the station name Pionierstraße works like this: Googling for XSLT_STOPFINDER_REQUEST returns links like this one. |
oof, that looks like a bigger rewrite is needed :( |
There seem to be various endpoints to access KVV information related to this API. Unfortunately some (incl. tunnelfadirect) return HTML even if JSON is requested in some cases. But the aforementioned request for pionierstraße will return stateless "7000238" which in turn can be used like this to get the next ten departures from that station in JSON format: The URL doesn't sound "stable" and i'd prefer to use something that sounds more promising to last a little longer ... Also the returned JSON contains all kinds of unwanted stuff which is a burden for my little microcontroller. And finally I haven't figured out yet to specify a certain track in the request so I can e.g. request only inbound trains. I could filter them out later but that won't allow me to predict the number of departures to be displayed. So I'd like to figure out:
|
Here's a thread discussing this issue as well: https://verkehrsforum-karlsruhe.de/threads/was-ist-mit-der-kvv-live-api-passiert.280/ |
Hey everyone, |
Had some time, here is a proper rust crate with the bindings, although untested and not feature-complete. |
It seems the KVV API this project makes use of is gone. But since a similar service still exists there may be a new API ...
The text was updated successfully, but these errors were encountered: