/packagebot

Telegram bot for tracking packages

Primary LanguagePython

Telegram tracking bot

I felt like playing with telegram, and I had some packages on the way, so I made a bot.

To use: Send a telegram message to Incoming_pkg_bot which contains the tracking code of your package. Currently USPS only. You'll receive updates via telegram as the package moves.

Just type stop to stop receiving messages.

To run this bot, do the following:

  1. Create a telegram bot, instructions here.
  2. Get an API token from the USPS here.
  3. Put the assorted tokens into config.py.
  4. Set up a postgres, and put the credentials into config.py.
  5. python scripts/bot.py