api.direkt.bahn.guru
api.direkt.bahn.guru copied to clipboard
Code used doesn't seem to be UIC
It looks like the code used to retrieve the station is not a UIC station code (which is what the error message of the api returns - try https://api.direkt.bahn.guru/1, but rather a DB internal code (see this wikipedia page - only in German).
I found that to be the case testing out different stations from the trainline stations dataset available on github: https://github.com/trainline-eu/stations (the column name is db_id, or oebb_id).
FIX: Change error message from "id must be a uic station code" to "id must be a DB station id"