Directory API: Client Libraries

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.

Client library Documentation
Google APIs Client Library for Python PyDoc
Google APIs Client Library for Java Javadoc
Google APIs Client Library for .NET Reference documentation
{"cc_re__cc_re__cc_by_4_0": ["in_2020q4_color_1x_web_64dp.png\"\n    \n  \n  \n    project-support-url=\"https://developers.google.com/admin-sdk/directory/support?hl=fi\"\n  \n  feedback-type=\"thumb-rating\">\n\n  <button>\n  \n    \n    Send feedback\n  \n  </button>\n</devsite-feedback>\n       \n    \n    \n      <devsite-recommendations id=\"recommendations-link\" yield></devsite-recommendations>\n    \n  \n\n  \n  \n</article>\n\n\n<devsite-content-footer class=\"nocontent\">\n  <p>Except as otherwise noted, the content of this page is licensed under the <a href=\"https://creativecommons.org/licenses/by/4.0/\">Creative Commons Attribution 4.0 License</a>, and code samples are licensed under the <a href=\"https://www.apache.org/licenses/LICENSE-2.0\">Apache 2.0 License</a>. For details, see the <a href=\"https://developers.google.com/site-policies?hl=fi\">Google Developers Site Policies</a>. Java is a registered trademark of Oracle and/or its affiliates.</p>\n  <p>Last updated 2020-03-11 UTC.</p>\n</devsite-content-footer>\n\n\n<devsite-notification\n>\n</devsite-notification>\n\n\n  \n<div class=\"devsite-content-dat"]}