Directory API: ไลบรารีของไคลเอ็นต์
Directory API สร้างขึ้นในรูปแบบ HTTP และ JSON ไคลเอ็นต์ HTTP มาตรฐานต่างๆ จึงส่งคำขอไปยัง API นี้และแยกวิเคราะห์การตอบกลับได้
อย่างไรก็ตาม ไลบรารีของไคลเอ็นต์ Google APIs มีการผสานรวมภาษาที่ดีกว่า ความปลอดภัยที่ดียิ่งขึ้น และการรองรับการเรียกที่ต้องมีการให้สิทธิ์ผู้ใช้ ไลบรารีของไคลเอ็นต์พร้อมให้บริการเป็นภาษาโปรแกรมต่างๆ เมื่อใช้งานไลบรารีเหล่านี้ คุณจะไม่ต้องตั้งค่าคำขอ HTTP และแยกวิเคราะห์การตอบกลับด้วยตนเอง
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-01-27 UTC
[null,null,["อัปเดตล่าสุด 2025-01-27 UTC"],[[["The Directory API can be accessed using any standard HTTP client due to its foundation on HTTP and JSON."],["Google's API client libraries provide advantages like better language integration, security, and support for user authorization."],["Client libraries eliminate the need for manual HTTP request setup and response parsing, increasing efficiency."],["These client libraries are offered in various programming languages, including Python, Java, and .NET, with documentation accessible through the provided links."]]],["The Directory API uses HTTP and JSON, allowing standard HTTP clients to interact with it. Google's client libraries, however, offer enhanced language integration, security, and authorization support. These libraries, available for Python, Java, and .NET, simplify interaction by automating HTTP request setup and response parsing. They include links to GitHub repositories and documentation, including PyDoc, Javadoc, and reference guides, to assist with their implementation.\n"]]