概要
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 および関連会社の登録商標です。
最終更新日 2024-09-03 UTC。
[null,null,["最終更新日 2024-09-03 UTC。"],[[["The Google Tasks API allows developers to programmatically access and manage Google Tasks data, including searching, reading, and updating tasks and task lists."],["Developers can utilize the API with RESTful calls or client libraries for Java, Python, and PHP, enabling integration with various applications."],["Google Tasks data is structured around task lists and individual tasks, each with its own properties and metadata."],["The API operates on resources like task lists and tasks, organized into collections for access and management."],["Users have a default task list, and additional lists can be created to organize tasks according to user preferences."]]],["The Google Tasks API allows searching, reading, and updating Google Tasks data via RESTful calls and client libraries (Java, Python, PHP). It's designed for deep integration with Google Tasks, allowing apps to manage task lists. Core elements include Task Lists (collections of tasks) and individual Tasks (containing title, notes, due date, and completed date). The API operates on Task List and Task Resources, grouped into Task List and Task Collections. Each user has at least one default task list.\n"]]