So I am trying to add a calendar event to a user's gmail calendar using a c# program, I have done a ton of research and have added all the references that are suggested to be appropriate for this.
The most helpful sources were here:
In particular, I have used this piece of coding to start a base for my program:
var event = CalendarApp.getDefaultCalendar().createEvent('Apollo 11 Landing',
new Date('July 20, 1969 20:00:00 UTC'),
new Date('July 21, 1969 21:00:00 UTC'));
Logger.log('Event ID: ' + event.getId());
I found it at this link: https://developers.google.com/apps-script/reference/calendar/calendar-app
Under the title createEvent(title, startTime, endTime)
However when I try to call the CalendarApp it gives me a missing reference error, I cannot find this reference anywhere, the only relevant references that I can find (and have added) are
1. Using Google.GData.Calendar
2. Using Google.GData.Client
3. Using Google.GData.Extensions
But no luck at all, I have even tried my luck by downloading the application “How to Read the Google Calendar in C#“ by Pubudu Kasakara and going through his tutorial (which gave great background and insight, but still no luck with the CalendarApp) :
If anyone has any suggestions or anything that might help I would be very grateful as I am out of ideas, chances are I am missing something simple as I am still a junior developer. Thanks so much in advance.