No description
adapters | ||
ci | ||
.gitignore | ||
main.py | ||
README.md | ||
requirements.txt |
Wordpress WP Booking System/Google Calendar integration
Usage
- Create a google service account which has permission to read the desired calendars (add it to the calendars).
- Add a key to the service account (choose the json option) and save it somewhere secure.
- Run this program once
./main.py --config config.yaml
it will generate a example configuration file. - Add the json contents into the example file under
.google.credentials
and fill in the rest of the options. - 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.