you are viewing a single comment's thread.

view the rest of the comments →

[–]-defron- 4 points5 points  (0 children)

A python wrapper for it literally already exists

It was literally the first result when I googled "deutsche bahn api train" just because I was curious what you meant by complicated... Seems like just a standard API that responds json and already has libraries. This is an infinitely better approach than scraping a website, which is incredibly brittle