Gosh I fixed it, I must have not deployed it and updated the URL. When I get back I’ll post my comprehensive steps and notes for anyone else attempting this.
But it does work now in the app. Strangely enough it adds it to my calendar today using the app, but tomorrow using the URL.
I’m not seeing delete event in this link, but a quick google search shows other appear to just use deleteEvent so I’m assuming it’s a separate script I need to create and call, for example if a user deletes an appointment of course the calendar event should be deleted as well.
I’ll work on editing events in the future where the calendar event gets updated as well as the Firebase data.
Do these calendar events have some kind of tag or unique identifier to refer to them easily in the future?
I’m positive what I need is in here, but I don’t know how it correlates to assembling the blocks.
Like the method and return type, I don’t know what to do with those as far as the blocks go. Am I creating objects with setting query parameters?
Or am I creating new scripts?
I just don’t know what to do with this information
The createEventFromDescription() function returns an event ID which you need to save under the user created it for easier retrieval at a later stage.
You may also use getEventSeries() to get all events between two dates.
Once you have the event ID then you can use the setDescription() to amend the description related to that event.
Example
var myCal = CalendarApp.getDefaultCalendar();
var myEvent = myCal.createEventFromDescription("First description for the event");
// You have an even ID so you can proceed to change whatever you want in that event.
myEvent.setDecription("New description for the event");
myEvent.addGuest("info@tunkable.com");