Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

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

Notifications You must be signed in to change notification settings

FedericoPonzi/TrasportiRomaBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published