Telegram bot created with Node.js that inform the available balance of any card.
- Create your own bot using Telegram's BotFather and grab your token
- Clone this repository
- Go to the folder using
cd ~/red-bus-telegram-bot
- Run
npm install
- Set
process.env.BOT_TOKEN
to the value, you've got from the BotFather - Run
npm start
- Find your bot created before on Telegram and press the button
/start
to initialize the wizard
Note: The endpoint used to connect with the services of Red Bus, was taken from the Mobile App "Cuanto Tengo". For security reasons, this was set using environment variable.
- Node.js - JavaScript runtime environment
- Telegraf - Modern Telegram bot framework
- Request - Simplified HTTP client
Pull requests are always welcome!