Chapter 5. Creating Google Calendar and Drive Applications

In the previous chapter, you learned how to create Forms programmatically using FormApp, ContentService, and HtmlService. Also, you learned how to use the doGet and doPost functions.

In this chapter, you will learn to:

  • Create Calendar events
  • Enable Google's advanced services
  • Create a few Drive applications

The CalendarApp class

The CalendarApp class provides direct access to Calendar's basic service. This service allows you to read and update your default as well as subscribed Calendars. Using GAS, you can create Calendar events, and invite your friends programmatically. You can even grab event details and populate them in Sheets.

Creating Calendar events from a simple description

You can create ...

Get Learning Google Apps Script now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.