• Stars
    star
    4,457
  • Rank 9,523 (Top 0.2 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created over 11 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Apps Script samples for Google Workspace products.

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, or onInstall 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:

Clone using the clasp command-line tool

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.

More Repositories

1

md2googleslides

Generate Google Slides from markdown
TypeScript
4,460
star
2

apps-script-oauth2

An OAuth2 library for Google Apps Script.
JavaScript
1,516
star
3

python-samples

🐍 Python samples for Google Workspace APIs
Python
1,181
star
4

android-samples

Android samples for Google Workspace APIs
Java
634
star
5

google-chat-samples

Chat Bot Samples for Google Chat.
JavaScript
481
star
6

node-samples

Node samples for Google Workspace APIs.
JavaScript
460
star
7

browser-samples

Web samples for Google Workspace APIs
HTML
324
star
8

java-samples

☕ Java samples for Google Workspace APIs.
Java
320
star
9

solutions

Community contributed solutions for Google Workspace
JavaScript
296
star
10

php-samples

PHP samples for Google Workspace APIs
PHP
287
star
11

add-ons-samples

Sample Google Workspace Add-ons
JavaScript
265
star
12

go-samples

Go samples for Google Workspace APIs
Go
213
star
13

drive-quickeditors

A text editor for Android, iOS, and web illustrating how to open and save files with the Google Drive API
Objective-C
212
star
14

drive-utils

Google Drive API utility functions.
JavaScript
190
star
15

dotnet-samples

.NET samples for Google Workspace APIs
C#
161
star
16

sheets-api-codelab

Use Google Sheets as your application's reporting tool
JavaScript
146
star
17

apps-script-oauth1

An OAuth1 library for Google Apps Script.
JavaScript
136
star
18

gmail-add-on-codelab

JavaScript
120
star
19

ruby-samples

💎 Ruby samples for Google Workspace APIs
Ruby
78
star
20

apps-script-intro-codelab

JavaScript
58
star
21

hangouts-chat-apps-script-codelab

JavaScript
55
star
22

cloud-search-samples

Samples for Google Cloud Search
Java
52
star
23

ml-integration-samples

This repo contains a collection of code samples and utilities for integrating Google Cloud AI & ML into Google Workspace.
JavaScript
40
star
24

gsuite-apis-intro

Python
32
star
25

chat-framework-nodejs

TypeScript
29
star
26

google-docs-hast

Converts the JSON representation of a Google Docs document into an HTML abstract syntax tree (HAST).
TypeScript
25
star
27

hubot-google-hangouts-chat

Hubot adapter for Google Chat.
JavaScript
24
star
28

slides-api

Learn How to Use the Google Slides API
JavaScript
22
star
29

awesome-workspace

Awesome list for Google Workspace.
TypeScript
20
star
30

workspace-guardrails-ps-ca

18
star
31

gws-genai-addon-sample

A sample Google Workspace add-on for Gmail and Google Drive using Node.js and demonstrating how to use various Generative AI APIs
JavaScript
18
star
32

gws-odo-addon

"Odo" is a Workspace Add-on that lets anyone easily demonstrate the capabilities of Workspace integrations for their customers, all without coding. Simply set the name + logo of the customer you are presenting to, configure Odo's behavior, and do a quick demo. This will help your customers visualize what Workspace extensibility can do for them.
JavaScript
16
star
33

ios-samples

iOS samples for Google Workspace APIs
Objective-C
14
star
34

appointment-scheduler-codelab

JavaScript
13
star
35

slides-advisor-add-on

JavaScript
13
star
36

.github

10
star
37

redriveapp

ReDriveApp (short for "Recommended" or "Replacement" DriveApp). AppsScript class that provides equivalent methods offered by the built-in DriveApp, but that does not require use of full '/drive' OAuth scope (which is a "Restricted" scope"). Instead, uses only these Recommended (non-sensitive) and/or Sensitive scopes.
JavaScript
9
star
38

docs-transcript-codelab

Java
7
star
39

python-oauth-token-manager

Python
6
star
40

.allstar

4
star
41

python-classroom-addon

Reference implementation of a Google Classroom add-on, written in Python and broken into steps corresponding to a walkthrough tutorial https://developers.google.com/classroom/add-ons/walkthroughs/walkthroughs-overview.
Python
2
star
42

java-classroom-addon

About Reference implementation of a Google Classroom add-on, written in Java and broken into steps corresponding to a walkthrough tutorial https://developers.google.com/classroom/add-ons/walkthroughs/walkthroughs-overview.
Java
2
star
43

group-based-role-assignment-migration-util

Python
2
star
44

python-calendar-insights-demo

Python
2
star
45

oneroster-integration-conformance-tests

Jupyter Notebook
2
star
46

meet

TypeScript
1
star
47

drive-cse-upload

Python
1
star