Directory API: Thư viện ứng dụng
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Directory API được xây dựng trên HTTP và JSON, do đó, mọi ứng dụng HTTP tiêu chuẩn đều có thể gửi yêu cầu tới API này và phân tích cú pháp các phản hồi.
Tuy nhiên, các thư viện ứng dụng API của Google cung cấp tính năng tích hợp ngôn ngữ tốt hơn, có mức độ bảo mật cao hơn và hỗ trợ thực hiện các lệnh gọi yêu cầu người dùng phải uỷ quyền. Các thư viện ứng dụng được cung cấp bằng một số ngôn ngữ lập trình. Bằng cách sử dụng các thư viện đó, bạn có thể tránh được việc phải thiết lập yêu cầu HTTP và phân tích cú pháp phản hồi theo cách thủ công.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-05-14 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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/) |"]]