概要
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Google Tasks API を使用すると、Google ToDo リストのコンテンツとメタデータを検索、読み取り、更新できます。このドキュメントでは、さまざまなプログラミング言語(現在は Java、Python、PHP)用の RESTful 呼び出しスタイルとクライアント ライブラリを使用して、Google ToDo リストのデータにアクセスして編集する方法について説明します。
Google ToDo リストとの緊密な統合が必要なサイトやアプリケーションは、Google Tasks API を活用できます。たとえば、Google Tasks API を使用してモバイルアプリで Google のタスクリストを管理することや、Au-to-do などのより高度なワークフロー アプリにタスクを統合することができます。
Google ToDo リストは、次の 2 つの基本コンセプトに基づいて構築されています。
- タスクリスト
- タスクを含むリスト。タスクリストを複数用意して、好みの方法でタスクを管理できます。
- タスク
- タスクのタイトル、メモ、期限、完了日などの情報を含む 1 つのタスク。
Tasks API のデータモデル
リソースとは、一意の識別子を持つ個別のデータ エンティティです。Google Tasks API は、次の 2 種類のリソースで動作します。
- タスクリスト リソース
- タスクリストを表します。
- タスクリソース
- タスクを表します。
Tasks API データモデルは、コレクションと呼ばれるリソースのグループに基づいています。
- タスクリスト コレクション
- 各ユーザーには、少なくとも 1 つの
default
タスクリストがあります。
- タスク コレクション
- 特定のタスクリスト リソース内のすべてのタスクリソースで構成されます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-29 UTC。
[null,null,["最終更新日 2025-08-29 UTC。"],[],[],null,["# Overview\n\nThe Google Tasks API lets you search, read, and update Google Tasks content and metadata. This document describes how to use a RESTful calling style and client libraries for various programming languages (currently Java, Python, and PHP) to access and edit Google Tasks data.\n\nSites or applications that want deeper integration with Google Tasks can leverage the Google Tasks API. For example, you could use the Google Tasks API to manage Google task lists in a mobile app, or you could integrate tasks into a more extensive workflow app such as [Au-to-do](http://code.google.com/p/au-to-do/).\n\nGoogle Tasks is built on two basic concepts:\n\nTask List\n: A list containing tasks. Users can have more than one task list to manage their tasks the way they want.\n\nTask\n: A single task containing information such as the title of the task, notes, the due date, and the completed date.\n\n### Tasks API data model\n\nA resource is an individual data entity with a unique identifier. The Google Tasks API operates on two types of resources:\n\nTask List Resource\n: Represents a task list.\n\nTask Resource\n: Represents a task.\n\nThe Tasks API data model is based on groups of resources, called collections:\n\nTask List Collection\n: Each user has at least one `default` Task List.\n\nTask Collection\n: Consists of all the Task Resources within a specific Task List Resource."]]