No description
Find a file
2023-06-15 03:07:18 +02:00
adapters Include api response text in exception body. 2023-06-15 03:07:18 +02:00
ci Explicit latest tag in pipeline. 2022-11-23 14:55:57 +01:00
.gitignore Add initial cython makefile. 2022-11-23 02:00:36 +01:00
Dockerfile Add dockerfile. 2022-11-23 02:38:10 +01:00
main.py Fix exit codes. 2023-02-18 21:04:20 +01:00
Makefile Add initial cython makefile. 2022-11-23 02:00:36 +01:00
README.md Update readme. 2022-10-13 11:49:44 +02:00
requirements.txt Switch config validation. Allow multiple sources/sinks. 2023-02-18 20:48:22 +01:00

Wordpress WP Booking System/Google Calendar integration

Usage

  1. Create a google service account which has permission to read the desired calendars (add it to the calendars).
  2. Add a key to the service account (choose the json option) and save it somewhere secure.
  3. Run this program once ./main.py --config config.yaml it will generate a example configuration file.
  4. Add the json contents into the example file under .google.credentials and fill in the rest of the options.
  5. To synchronize once run ./main.py --config config.yaml.

CI

There is a concourse pipeline which runs once every hour to synchronize all events. It reads the configuration file from the concourse vault and passes it to the script.

Known issues

If two Events are booked on the same date, only one of them will appear in the description on Wordpress.