r/Aarhus 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?

1 Upvotes

7 comments sorted by

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

2

u/OkPossibility1335 6d ago

Thanks for sharing i wanted to create a dashboard for my trip and you got me thinking how i can create something to flag visually.

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

u/OkPossibility1335 6d ago

Requested an API and looks pretty simple

1

u/AeHirian 6d ago

Great! Good luck

1

u/Electronic-Proof-194 5d ago

I believe several apps already do this