It is quite complicated according to their docs
Do you have any blocks code?
Has Anyone Every tried this? @darren@jared@jane@cttricks ?
Any Ideas @thunkableexperts? @AnyoneWhocouldhelp
And Please do not give WEB Api Docs.
Your Regards,
TchInd Technologies’
(Formerly Called Techindia Is Here)
I know you don’t want the API Documentation link but I’m posting this for other people who might read your question:
It’s going to require a POST call to the API. I’ve been trying to figure out how to do those from within Thunkable but haven’t succeeded. I can get them (not Google Calendar but other API POST calls) to work with the Postman application or a curl command in Terminal on a Mac.
This example only GETs cal events but does so as an authenticated user. Get this far and I can show you how to create events for any user who gives your app permission!
There’s also share links that google provides. A link that when clicked allows users to add events to their calendar. Might work for you. Gonna try to dig that up today!
I saw this one, but it does allow the user to edit the calendar which could cause problems, is there a way to use this link and execute it or does it require that final step to confirm?
Ok I got this to work via my google script screen and it did in fact create the event in my calendar, the first time I ran it, it failed, then I clicked run again and it sent me to the auth page to allow it. It also said it hasn’t been verified by google but I proceeded anyway, once I did all of that it created the event.
How do I call this function from the app?
Here’s what I’ve got so far…
See this tutorial. It is for saving Canvas image to GDrive but will give you insight of how to use doGet/doPost to pass parameters from Thunkable to GAS.
There are many functions in the calendar object. I’m using here the function createEventFromDescription so you need to pass description such as: Thunkable advanced meeting 10AM. The function will parse the description and create a meeting event from it.
You could see the list of functions and choose the one that fits your need.