Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bot
 
 
 
 
 
 
 
 
 
 

README.md

TrasportiRomaBot

It's made with python3.

Installation

Get an ATAC api key from here, and add it to your environment:

export ATAC_API_KEY=your-api-key

Get a Telegram api key from @BotFather:

export TELEGRAM_API_KEY=your-api-key

Run build.sh to download the requirements in a new virtualenv:

chmod +x build.sh
./build.sh

Load the new virtualenv:

source venv/bin/activate

and finally, run main.py:

python3 main.py

Soft TODO:

Long TODO:

  • Aggiungere possibilità di cercare percorso
  • Add favorite stops.

Very long todo:

  • Add a tutorial: message shown only the first time the users chat with the bot.

VERY VERY VERY Long todo:

  • Groups support

Abandoned:

  • NLP interface: Using api.ai. I think it's easier to use the telegram's commands for this use case.

About

A telegram bot to get information on Rome's public transportation.

Topics

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.