thonixx / SBB_Telegram_bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SBB Telegram bot

  • Install Telegram bot library pip install python-telegram-bot and Requests with sudo pip install requests
  • Run it simply with python (eg. python sbb_bot.py)

Commands

  • The /start command will get executed on its own when you start talking to the bot, otherwise message /start to the bot
  • Type /help to know the required syntax to query the bot for trains
  • The Syntax is /trains <Departure> <Destination> <Via>, where the <Via> argument is optional
  • The next four connections between indicated stations will be displayed.

BON VOYAGE!

About


Languages

Language:Python 100.0%