An AWS
(Amazon Web Services) Lambda
function for getting events booked into your Google
calendar.
-
Clone this repo
git clone https://github.com/hughmp/google-calendar-lambda.git
cd google-calendar-lambda
-
Install the dependencies
yarn
ornpm i
-
Install apex and configure
AWS
, as explained here -
Set your
AWS
profile environment variableexport AWS_PROFILE=XXXXX
(in Windows useset
) -
Add your google calendar IDs into
config.js
infunctions/getBookings/src/
-
Run
apex deploy -s GOOGLE_API_KEY=[INSERT YOUR GOOGLE API KEY HERE]
-
Test your function
apex invoke getBookings
-
You can now link an AWS
API Gateway
to invoke over HTTP