derf / travelynx

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

Adding Operator to Travelynx #142

Open luggesexe opened 5 months ago

luggesexe commented 5 months 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 5 months 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.

SpielenmitLili commented 3 months ago

I think that would be really cool.

It would be something that could be great for statistics and so on