node-red-node-google
is not working at all. However, there is node-red-contrib-google
node which is wrapping Google API and is working like a charm. It's also much more flexible.
Put inject node and send
{
"calendarId": "yourIdHere@gmail.com",
"timeMin": "2018-11-19T09:11:13.562Z",
"timeMax": "2018-11-21T09:11:13.562Z"
}
to google
node. On google
node set API
to calendar:v3
and Operation
to events.list
(of course you could leave that empty and provide everything by input node). timeMin
and timeMax
is what you want to create time window. Just checked it, works perfectly.
Of course, you need to configure google
node but that is extremely simply (not like node-red-node-google
):
- generate JSON key
- go to IAM & admin
- create
Project > editor
and copy created e-mail address of created service - share your calendar with that e-mail