Skip to content

Trigger webhooks based on medical appointment availability.

License

Notifications You must be signed in to change notification settings

jonasknobloch/gomedo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gomedo

Go Report Card

Gomedo allows for easy monitoring of a tomedo medical appointment calendar.

This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with zollsoft GmbH or any of its subsidiaries or its affiliates.

Usage

Using the docker-compose configuration is probably the fastest way to get started. Directly running the binary works just as well, provided all required environment variables are set. See the Dockerfile for detailed build instructions.

docker-compose

docker-compose -f ./deployments/docker-compose.yaml up -d

Configuration

The following environment variables should be used to monitor a specific calendar.

Environment Description Required
UNIQUE_IDENTIFIER Location specific unique identifier Yes
SCRAPE_ENDPOINT HTTP endpoint used for scraping Yes
SCRAPE_INTERVAL Interval used for scraping Yes
APPOINTMENT_KEYWORDS Comma separated list of keywords No
NOTIFICATION_HOOKS Comma separated list of webhooks No

Example

UNIQUE_IDENTIFIER=610befd11b2f8
SCRAPE_ENDPOINT=https://onlinetermine.zollsoft.de/includes/searchTermine_app_feature.php
SCRAPE_INTERVAL=30s
APPOINTMENT_KEYWORDS=impftermin,covid-19,biontech,astrazeneca
NOTIFICATION_HOOKS=https://example.org/webhook/68e11060-89dc-4031-9a63-a7a2d7e29927

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.