Samples

This section provides samples and development tools that use the Apps Script API.

Recipes

The 'recipe' examples listed in this section demonstrate how to express common Apps Script actions as Apps Script API requests.

These examples are presented in the form of HTTP requests to be language neutral. To learn how implement Apps Script API request protocols in a specific language using Google API client libraries, see the Executing an function guide for examples.

Recipes in this section are divided into the following categories:

  • Executing Apps Script Functions — Recipes that show how to remotely call Apps Script functions from other apps.
  • Project Management — Recipes that show basic project actions such as creating new projects, retrieving script files, and updating project content.

Development resources

The clasp command-line tool for Apps Script lets you develop and maintain Apps Script projects from your local machine. clasp is a Node.js open-source project that uses Apps Script API for project management; you can see how the API is called in the clasp GitHub repository.

Send feedback about...

Apps Script API
Apps Script API
Need help? Visit our support page.