Directory API:用戶端程式庫
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Directory API 是以 HTTP 和 JSON 做為建構基礎,因此任何標準 HTTP 用戶端都可以向這個 API 傳送要求並剖析回應。
不過,Google API 用戶端程式庫不但提供更出色的語言整合功能,安全性也更高,還能執行需要使用者授權的呼叫。用戶端程式庫支援多種程式設計語言,只要善加利用,您就不必再手動設定 HTTP 要求及剖析回應。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-05-14 (世界標準時間)。
[null,null,["上次更新時間:2025-05-14 (世界標準時間)。"],[],[],null,["# Directory API: Client Libraries\n\nThe Directory API is built on HTTP and JSON, so any standard HTTP client can send requests to it and parse the responses.\n\nHowever, the Google APIs client libraries provide better language integration, improved security, and support for making calls that require user authorization. The client libraries are available in a number of programming languages; by using them you can avoid the need to manually set up HTTP requests and parse the responses.\n\n| Client library | Documentation |\n|----------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|\n| [Google APIs Client Library for Python](https://github.com/googleapis/google-api-python-client) | [PyDoc](https://google-api-client-libraries.appspot.com/documentation/admin/directory_v1/python/latest/) |\n| [Google APIs Client Library for Java](https://developers.google.com/resources/api-libraries/download/stable/admin/directory_v1/java) | [Javadoc](https://developers.google.com/resources/api-libraries/documentation/admin/directory_v1/java/latest/) |\n| [Google APIs Client Library for .NET](https://developers.google.com/resources/api-libraries/download/stable/admin/directory_v1/csharp) | [Reference documentation](https://developers.google.com/resources/api-libraries/documentation/admin/directory_v1/csharp/latest/) |"]]