Làm việc với 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.
Các thư viện ứng dụng Google Doanh nghiệp của tôi API cung cấp tính năng tích hợp ngôn ngữ tốt hơn và đơn giản hoá quy trình xác thực người dùng.
Trước khi làm việc với API Google Doanh nghiệp của tôi, bạn cần đăng ký ứng dụng và lấy thông tin đăng nhập OAuth 2.0. Hãy xem phần Thiết lập cơ bản để biết thông tin chi tiết về cách bắt đầu sử dụng API Google Doanh nghiệp của tôi.
Lưu ý: Hướng dẫn này giả định một môi trường tương tự như Unix.
Tải thư viện ứng dụng xuống
Truy cập vào trang Thư viện để tải các thư viện ứng dụng API Google Doanh nghiệp của tôi mới nhất.
Thư viện ứng dụng Google Doanh nghiệp của tôi API sử dụng Thư viện ứng dụng Google API để xử lý lỗi, quản lý các yêu cầu và phản hồi, OAuth và các chức năng phổ biến khác.
Tài liệu khám phá có sẵn để hỗ trợ việc tự động tạo thư viện ứng dụng của riêng bạn nếu bạn không tải được thư viện hỗ trợ ngôn ngữ lập trình mà bạn chọn.
Ví dụ về cách sử dụng thư viện ứng dụng
Hãy truy cập vào GitHub để xem và tải các mẫu đầy đủ về cách sử dụng thư viện ứng dụng xuố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-08-29 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-29 UTC."],[[["\u003cp\u003eThe Google My Business API client libraries offer better language integration and easier user authentication.\u003c/p\u003e\n"],["\u003cp\u003eYou must register your application and get OAuth 2.0 credentials before using the Google My Business API, with setup details available in the Basic Setup guide.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries can be downloaded from the Libraries page, and a discovery document is provided to assist in generating custom libraries for unsupported languages.\u003c/p\u003e\n"],["\u003cp\u003eFor usage examples and complete samples, refer to the Google My Business samples on GitHub.\u003c/p\u003e\n"]]],["To use the Google My Business API, register your application and obtain OAuth 2.0 credentials. Client libraries, which offer improved language integration and user authentication, can be downloaded from the Libraries page. These libraries utilize Google API Client Libraries for core functionalities. If a specific language isn't supported, a Discovery document aids in generating custom libraries. Full usage examples are available on GitHub. The setup assumes a Unix-like environment.\n"],null,["# Work with client libraries\n\n\u003cbr /\u003e\n\nThe Google My Business API client libraries provide improved language integration and\nsimplified user authentication.\n\nBefore working with the Google My Business API you need to register your application and\nobtain OAuth 2.0 credentials. See [Basic Setup](/my-business/content/basic-setup) for details on\nhow to start working with the Google My Business API.\n\n**Note**: These instructions assume a Unix-like environment.\n\nClient library downloads\n------------------------\n\nVisit the [Libraries](/my-business/samples) page to get the latest\nGoogle My Business API client libraries.\n\nThe Google My Business API client library makes use of the [Google API Client\nLibraries](/api-client-library) for error handling, managing requests and\nresponses, OAuth, and other common functionality.\n\nA [Discovery document](/my-business/samples#discovery_document) is available to\naid in auto-generating your own client libraries if support for your programming\nlanguage of choice is not available for download.\n\nExample client library usage\n----------------------------\n\nVisit [GitHub](https://github.com/google/google-my-business-samples) to view and\ndownload full samples of working with client libraries."]]