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.
- Install virtualenvwrapper
- Install pyenv
- Register on Konzum Klik
- Register on Sendgrid - need to verify a sending domain or setup a single sender address
- Generate a Sendgrid API key
Konzum Klik login details:
KONZUM_KLIK_USERNAMEKONZUM_KLIK_PASSWORD
Sendgrid:
SENDGRID_API_KEYNOTIFY_TO_ADDRESS- to which email address to send a notification when the delivery time opens upNOTIFY_FROM_ADDRESS- from which email address to send (if you verified your own domain, it can be [email protected])
git clonecd konzum_watchdogpyenv localmkvirtualenv konzum_watchdogcp env.sh.example env.shvim env.sh # input your own datapip install -r requirements.txt
source env.sh && python main.py