Skip to content

ralbertazzi/train-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

train-bot

This Telegram Bot queries italian train companies Trenitalia and Italo and gets back the list of available train for a certain day, with its minimum available price.

Example usage:

/bomi 19/01/2019: available trains from Bologna Centrale to Milano Centrale on 19 jan 2019

/bomi 20/01/2019 p25 t80: available trains from Bologna Centrale to Milano Centrale on 19 jan 2019 with price <= 25€ and travel time <= 80 minutes

Available routes:

  • bomi: BOLOGNA CENTRALE -> MILANO CENTRALE
  • mibo: MILANO CENTRALE -> BOLOGNA CENTRALE
  • vmmi: VENEZIA MESTRE -> MILANO CENTRALE
  • mivm: VENEZIA MESTRE -> MILANO CENTRALE

Development

Project is deployed on Google Cloud Run. To set the Telegram Webhook use this simple API call

About

Telegram Bot for Trenitalia and Italo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published