ภาพรวม
Google Tasks API ช่วยให้คุณค้นหา อ่าน และอัปเดตเนื้อหาและข้อมูลเมตาของ Google Tasks ได้ เอกสารนี้จะอธิบายวิธีใช้รูปแบบการเรียก RESTful และไลบรารีของไคลเอ็นต์สำหรับภาษาโปรแกรมต่างๆ (ปัจจุบันคือ Java, Python และ PHP) เพื่อเข้าถึงและแก้ไขข้อมูล Google Tasks
เว็บไซต์หรือแอปพลิเคชันที่ต้องการการผสานรวมกับ Google Tasks ในระดับลึกยิ่งขึ้นจะใช้ประโยชน์จาก Google Tasks API ได้ เช่น คุณสามารถใช้ Google Tasks API เพื่อจัดการรายการงานของ Google ในแอปบนอุปกรณ์เคลื่อนที่ หรือผสานรวมงานกับแอปเวิร์กโฟลว์ที่ครอบคลุมมากขึ้น เช่น Au-to-do
Google Tasks สร้างขึ้นจากแนวคิดพื้นฐาน 2 ประการดังนี้
- รายการงาน
- รายการที่มีงาน ผู้ใช้มีรายการงานได้มากกว่า 1 รายการเพื่อจัดการงานในแบบที่ต้องการ
- งาน
- งานเดียวที่มีข้อมูล เช่น ชื่องาน บันทึก วันที่ครบกำหนด และวันที่เสร็จสมบูรณ์
โมเดลข้อมูล Tasks API
ทรัพยากรเป็นเอนทิตีข้อมูลแต่ละรายการที่มีตัวระบุที่ไม่ซ้ำกัน Google Tasks API ทำงานโดยใช้ทรัพยากร 2 ประเภท ได้แก่
- ทรัพยากรรายการงาน
- แสดงรายการงาน
- ทรัพยากรของงาน
- หมายถึงงาน
โมเดลข้อมูล Tasks API จะอิงตามกลุ่มทรัพยากรที่เรียกว่าคอลเล็กชัน ดังนี้
- คอลเล็กชันรายการงาน
- ผู้ใช้แต่ละรายจะมีรายการงาน
default
อย่างน้อย 1 รายการ
- คอลเล็กชันงาน
- ประกอบด้วยทรัพยากรงานทั้งหมดภายในทรัพยากรของรายการงานที่เฉพาะเจาะจง
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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"]]