I’d like to add an event to a user’s calendar.
Looking at the API, it appears I need to call createEventAsync. But this requires a calendarId parameter. So am I supposed to call getCalendarsAsync first and then choose one of the IDs returned?
When I call getCalendarsAsync it returns an empty array. So now I’m stuck not having a calendarId to use for calling createEventAsync.
I just want to add an event to a user’s default calendar. How do I do this?