ALL CREDITS TO https://github.com/golonzovsky/vacme-zurich-parser
https://be.vacme.ch provides a way to register for vaccination in Bern. Since there is not much free slots - it's quite tedious to find available one. You need to click dozens of locations.
This tries to simplify search by exposing rest api with up to date available slots for vaccination in Bern.
Be aware it uses personal refresh token for existing registration and reverse engineered api, so it's all quite fragile.
It's just jupiter experiment wrapped into api (see original vaccination_search.ipynb)
In this fork you can set pushover-variables to get pushnotifications
if you want to run it locally, find your REGISTRATION_ID and REFRESH_TOKEN from browser network tab, for the pushover-keys you have to check https://pushover.net and run:
docker run --rm -d -e REGISTRATION_ID=<REGISTRATION_ID> -e REFRESH_TOKEN=<REFRESH_TOKEN> -e PUSHOVER_USER_KEY=<PUSHOVER_USER_KEY> -e PUSHOVER_APP_KEY=<PUSHOVER_APP_KEY> abuhamsa/vacme-bern
or as docker-compose:
version: '3.3'
services:
vacme-bern:
environment:
- REGISTRATION_ID=<REGISTRATION_ID>
- REFRESH_TOKEN=<REFRESH_TOKEN>
- PUSHOVER_USER_KEY=<PUSHOVER_USER_KEY>
- PUSHOVER_APP_KEY=<PUSHOVER_APP_KEY>
container_name: vacme-bern
image: abuhamsa/vacme-bern
or run python code directly.
Content type
Image
Digest
Size
46.6 MB
Last updated
over 5 years ago
docker pull abuhamsa/vacme-bern