Inspiration

We wanted to save time of passengers, who doesn't know about train delays and then just stay at the station with no reason. And with out bot they don't need special app or look at the site to know about it.

What it does

It provides two main functions: shows nearest trains between stations and also send notifications about train delays on selected station.

How we built it

We built telegram bot, which used SBB's API to get all the info (schedule and actual delays) and send notifications.

Challenges we ran into

We could't add price information due to the fact that this info wasn't available as part of public API and as info, that we could parse via GET/POST web-requests.

What we learned

How to write telegram bot from scratch.

What's next for Sbb schedule bot

Calculating route to the nearest station; ticket purchase

Built With

Share this project:

Updates