Directory API:客户端库
Directory API 基于 HTTP 和 JSON 构建,因此任何标准 HTTP 客户端均可向其发送请求并解析响应。
不过,Google API 客户端库具有多项优势,例如语言集成更好,安全性更高,而且支持需要用户授权的调用。客户端库支持多种编程语言;使用客户端库可以避免手动设置 HTTP 请求和手动解析响应。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-27。
[null,null,["最后更新时间 (UTC):2025-01-27。"],[[["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"]]