derf / travelynx

Traewelling-inspired journey logger with realtime data
https://travelynx.de
GNU Affero General Public License v3.0
102 stars 16 forks source link

Adding Operator to Travelynx #142

Open luggesexe opened 3 weeks ago

luggesexe commented 3 weeks ago

Hello!

I tried to figure out if it would be possible to add the operator to each travel the way it does Träwelling. It seems that they make use of the same API to recieve data through HAFAS.

image

It looks like the HAFAS Backend that is used in Travelynx already recieves the Operators Name. Wouldn't it be enough adding the operator here and saving it to the DBS alongside?

Would at least be a cool thing to save alongside! Sadly I have never worked with Pearl (or Travelynx code) before, therefore I am interested if that goes in the correct direction or if that is something rather complicated.

derf commented 2 weeks ago

Doing that properly will need a DB schema adjustment. Right now there's other things on my todo list, so it's unlikely that it'll happen anytime soon.