Directory API: Client Libraries
Stay organized with collections
Save and categorize content based on your preferences.
The Directory API is built on HTTP and JSON, so any standard HTTP client can send requests to it and parse the responses.
However, 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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[null,null,["Last updated 2025-08-28 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/) |"]]