Telegram package tracking service with backend code and bot instructions.
-
Talk to
BotFather
in Telegram to setup the bot. -
Add the bot to a channel with administrative privileges so that the bot can send messages to the channel.
-
Get the code.
-
Run
./setup.sh
. -
Export
TELEGRAM_BOT_TOKEN
andUSPS_TOKEN
environmental variables. -
Run the
packageTrackingBackend.py
script. -
In Telegram, copy and paste the following text to
BotFather
after/setcommand
and choosing the right bot.
start - greetings
help -show command usage
usps - enter a tracking number
clear - clear all tracking