/konzum_watchdog

Konzum Klik delivery times watchdog

Primary LanguagePython

Konzum Watchdog

In this time of scarce delivery times for groceries from Konzum Klik, this script is not the script we need, but the script we deserve. Or something like that.

Prerequisites

  1. Install virtualenvwrapper
  2. Install pyenv
  3. Register on Konzum Klik
  4. Register on Sendgrid - need to verify a sending domain or setup a single sender address
  5. Generate a Sendgrid API key

Config

Konzum Klik login details:

  • KONZUM_KLIK_USERNAME
  • KONZUM_KLIK_PASSWORD

Sendgrid:

  • SENDGRID_API_KEY
  • NOTIFY_TO_ADDRESS - to which email address to send a notification when the delivery time opens up
  • NOTIFY_FROM_ADDRESS - from which email address to send (if you verified your own domain, it can be anything@your-domain.com)

Setup

  1. git clone
  2. cd konzum_watchdog
  3. pyenv local
  4. mkvirtualenv konzum_watchdog
  5. cp env.sh.example env.sh
  6. vim env.sh # input your own data
  7. pip install -r requirements.txt

Run

source env.sh && python main.py