Directory API: クライアント ライブラリ
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Directory API は HTTP と JSON を基に構築されているため、標準の HTTP クライアントであれば、この API にリクエストを送信してレスポンスを解析できます。
ですが、Google API クライアント ライブラリを利用すれば、言語が高度に統合され、セキュリティも強化されます。また、ユーザーの承認が必要な呼び出しもサポートされます。多くのプログラミング言語でクライアント ライブラリが利用できます。これを使用すれば、HTTP リクエストの設定やレスポンスの解析を手作業で行う必要がなくなります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-05-14 UTC。
[null,null,["最終更新日 2025-05-14 UTC。"],[],[],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/) |"]]