Google Apps Script Samples
Various sample code and projects for the Google Apps Script platform, a JavaScript platform in the cloud.
Learn more at developers.google.com.
Google APIs
AdminSDK
Advanced Services
Calendar
Classroom
Data Studio
Docs
Drive
Forms
Gmail
People
Sheets
Slides
Tasks
Templates
- Build off a working framework for new Apps Script projects.
Triggers
- Call an Apps Script function such as
onOpen
,onEdit
, oronInstall
in an add-on - Create a time-driven trigger
Codelabs
Codelab tutorials combine detailed explanation, coding exercises, and documented best practices to help engineers get up to speed with key Google technologies. Here's a list of Apps Script codelabs:
- Apps Script Intro
- Apps Script CLI – clasp
- BigQuery + Sheets + Slides
- Docs Add-on + Cloud Natural Language API
- Gmail Add-ons
- Hangouts Chat Bots
clasp
command-line tool
Clone using the Learn how to clone, pull, and push Apps Script projects on the command-line using clasp.
Lint
Run ESLint over this whole repository with:
npm run lint
This command will fix simple errors.