telegram-seriea-bot¶
A Telegram bot that provides data and statistics about Serie A, the italian soccer league.
Data by https://api.football-data.org
Powered by https://github.com/python-telegram-bot/python-telegram-bot
Contacts: andreamazzoni78@gmail.com
Try @serieabot¶
If you want to play with my bot just add @serieabot
to your telegram contacts and fire some commands.
This is a list of available commands:
ranking
: actual rankingmatchday
: results/schedulingplayers
: team’s playersplayer
: player detailshelp
: details about commands
Run your own bot¶
In order to run the bot you have to provide:
- A Docker instance (https://docs.docker.com/install/)
- A Telegram bot token (https://core.telegram.org/bots#3-how-do-i-create-a-bot)
- A football-data token (https://api.football-data.org/client/register)
Then you have to build and run your container:
$ make docker-run BOT_TOKEN="<your bot token>" FOOTBALL_DATA_TOKEN="<your api token>"`
Or if you want to run your bot in background mode:
$ make docker-deploy BOT_TOKEN="<your bot token>" FOOTBALL_DATA_TOKEN="<your api token>"