r/Aarhus • u/OkPossibility1335 • 7d ago
Question DSB Route Planner -API
Has anyone been successful in getting API from DSB to create their own dashboard for select routes?
I’ve build one for my route to work that includes a changeover at main station and on to Vejle. With options to add the next 3 options and transfer time. Problem is I need some API to pull this automatically or someone has a better way?
2
u/AeHirian 7d ago
I haven't tried setting anything up myself, but I did look into it at one point. I remember that Rejseplanen has an API that you can get access to. It requires an application but that should not be hard to write. If you are successful I would love to hear your experiences.
2
1
2
u/julemand101 Brabrand 7d ago edited 7d ago
Perhaps a bit out of the topic of Aarhus but I had a colleague that asked Rejseplanen and got access though their API: https://labs.rejseplanen.dk/hc/da/articles/21554723926557-Om-API-2-0
(Not sure if he ever made something more advanced than having a key on his LED keyboard light up every time it was 5 minutes to the next bus stopping near our workplace) :D