An alert to get Hong Kong bus estimate time arrival and send alert to telegram
Monitor the estimated time arrival of KMB bus at specific bus stop at specific time. Push message to telegram channel to alert user when is the next bus. Useful to know the coming bus arrival time before getting out from home every working day.
- Git clone the repository
- Pip install the packages in requirements.txt
- Set the bus route and station you want to monitor in bot.py
- Get a telegram bot from telegram BotFather.
- Copy the Token and paste to bot.py
- Create a new channel and add the bot into the channel
- Get the chat id, https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id
- Copy and paste the chat id to bot.py
- RUN!
This program can be deployed to Heroku so you don't have to turn on a computer all the time. The required files are in the repository. Follow "How to use" to setup and push to Heroku.