OrarioTreniBot icon indicating copy to clipboard operation
OrarioTreniBot copied to clipboard

Add other rail companies

Open Enrico204 opened this issue 7 years ago • 3 comments

It would be useful to have also as many as possible of these:

  • TreNord (trenord.it)
  • NTV (italotreno.it)
  • SNCF/Interrail (sncf.com)
  • EAV (eavsrl.it)
  • Ferrovie del Sud-Est (fseonline.it)
  • Ferrovie del Gargano (ferroviedelgargano.com)

(I think that NTV, TreNord and SNCF are widely used in northern regions)

Enrico204 avatar Jul 27 '17 18:07 Enrico204

Good idea! We may be forced to use HTML parsing, but it's not a problem! (TreNord is already included by viaggiatreno.it system.)

MarcoBuster avatar Jul 28 '17 08:07 MarcoBuster

I think that we may create a middleware in python that exposes REST/JSON API for HTML-only websites in order to keep this bot clean and simple :-)

Enrico204 avatar Jul 28 '17 08:07 Enrico204

Great! A master API for all rail companies. It can be a new project.

MarcoBuster avatar Jul 28 '17 15:07 MarcoBuster