Skip to content

Züri Trash Bot is a convenient way to query paper and cardboard collection dates for people living in Zürich.

License

Notifications You must be signed in to change notification settings

romanc/zh_trashbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Züri Trash Bot

Züri Trash Bot is a Telegram bot, which offers a convenient way to query paper 📰 and cardboard 📦 collection dates for people living in Zurich. The bot also support querying dates 📆 for the next cargo tram and E-tram 🚋.

Usage

Visit https://t.me/zh_trashbot or use @zh_trashbot directly from within Telegram.

Deployment

You don't need to deploy the bot to use it. For using the bot, just follow the link above. If - for whatever reason - you want to deploy (a copy of) this bot, you will need to:

  • clone this repository,
  • create a virtual environment (use python 3.6 or later),
  • install the dependencies (into your virtual environment): pip install -r requirements.txt,
  • copy config.ini.example to config.ini, get a Telegram bot token and configure it in config.ini,
  • run python trashbot.py from within the src/ folder (or submit a PR to fix the fact that we currently have a hard-coded relative path to the config file)

About

Züri Trash Bot is a convenient way to query paper and cardboard collection dates for people living in Zürich.

Topics

Resources

License

Stars

Watchers

Forks

Languages