O'Reilly logo

Learning Google Apps Script by Ramalingam Ganapathy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required