サンプル
このセクションでは、Apps Script API を使用するサンプルと開発ツールについて説明します。
レシピ
このセクションの「レシピ」の例では、一般的な Apps Script アクションを Apps Script API リクエストとして表現する方法を示します。
これらの例は、Google API クライアント ライブラリを使用して、特定の言語の Apps Script API リクエスト プロトコルで示されています。例については、関数の実行ガイドをご覧ください。
このセクションのレシピは、次のカテゴリに分かれています。
- Apps Script 関数の実行 - 他のアプリから Apps Script 関数をリモートで呼び出す方法を示すレシピ。
- プロジェクト管理 - 新しいプロジェクトの作成、スクリプト ファイルの取得、プロジェクト コンテンツの更新などの基本的なプロジェクト アクションを示すレシピ。
開発リソース
Apps Script の clasp
コマンドライン ツールを使用すると、ローカルマシンから Apps Script プロジェクトを開発、管理できます。clasp
は、プロジェクト管理に Apps Script API を使用する Node.js オープンソース プロジェクトです。API の呼び出し方法については、clasp
GitHub リポジトリをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-21 UTC。
[null,null,["最終更新日 2024-12-21 UTC。"],[[["This section offers samples and development tools utilizing the Apps Script API, including recipes demonstrating common Apps Script actions as API requests."],["Recipes are categorized into executing Apps Script functions remotely and managing projects (creating, retrieving, updating)."],["The `clasp` command-line tool enables local development and maintenance of Apps Script projects using the Apps Script API."]]],[]]