Các phiên bản trước
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.
Thư viện ứng dụng API Google Doanh nghiệp của tôi gói chức năng của API Google Doanh nghiệp của tôi và cung cấp chức năng chung cho tất cả API của Google, chẳng hạn như truyền tải HTTP, xử lý lỗi, xác thực, phân tích cú pháp JSON và hỗ trợ vùng đệm giao thức. Các thư viện ứng dụng và ứng dụng mẫu sau đây đã có sẵn:
v4.9
Bạn có thể tải các thư viện ứng dụng sau đây cho Java và PHP xuống:
Tải thư viện ứng dụng Java xuống (có nguồn)
Tải thư viện ứng dụng C# xuống
Tải thư viện ứng dụng PHP xuống
Để tìm hiểu cách tích hợp thư viện ứng dụng Java vào ứng dụng, hãy xem phần Cách làm việc với thư viện ứng dụng.
Bạn có thể sử dụng Gradle để chuẩn bị ứng dụng mẫu Java để sử dụng trong IDE Eclipse. Hãy xem phần Trình bổ trợ Eclipse để tìm hiểu thêm.
Tài liệu khám phá
Tài liệu khám phá API Google Doanh nghiệp của tôi là một tài liệu JSON mô tả giao diện cho một phiên bản API cụ thể. Bạn sử dụng tài liệu khám phá cùng với Dịch vụ khám phá API của Google.
Tải tài liệu khám phá 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 simplify interactions with the API by handling common tasks like HTTP transport, error handling, and authentication.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries are available for download in Java, C#, and PHP, along with sample applications and instructions for integration.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize the Google My Business API discovery document, a JSON file describing the API's surface, in conjunction with the Google API Discovery Service.\u003c/p\u003e\n"]]],["The Google My Business API offers client libraries with core functionalities like HTTP transport, error handling, authentication, and JSON parsing. Client libraries for Java, C#, and PHP (version v4.9) are available for download, with source code included for Java. A discovery document for the API, used with the Google API Discovery Service, can also be downloaded. Guidance is provided on integrating the Java client library and using Gradle to prepare the Java sample application.\n"],null,["# Previous versions\n\n\u003cbr /\u003e\n\nThe Google My Business API client libraries wrap the functionality of the\nGoogle My Business API, and provide functionality common to all Google APIs, for\nexample HTTP transport, error handling, authentication, JSON parsing, and\nsupport for [protocol buffers](/protocol-buffers). The following past client\nlibraries and sample applications are available:\n\nv4.9\n----\n\nThe following client libraries for Java and PHP are available for you to\ndownload:\n\n[Download Java client library (with source)](/static/my-business/samples/google-api-services-mybusiness-v4p9-java-rev-20210224-1.zip)\n\n[Download C# client library](/static/my-business/samples/google-api-services-mybusiness-v4p9-csharp-rev-20210224-1.zip)\n\n[Download PHP client library](/static/my-business/samples/google-api-services-mybusiness-v4p9-php-rev-20210224-1.zip)\n\nTo learn how to integrate the Java client library in to your application, see\n[How to work with client libraries](/my-business/content/set-up-java-client).\n\nYou can use Gradle to prepare the Java sample application for use in the Eclipse\nIDE. See\n[Eclipse Plugins](https://docs.gradle.org/current/userguide/eclipse_plugin.html)\nto learn more.\n\n### Discovery document\n\nThe Google My Business API discovery document is a JSON document that describes the\nsurface for a particular version of the API. You use the discovery document in\nconjunction with the\n[Google API Discovery Service](/discovery).\n\n[Download discovery document](/static/my-business/samples/mybusiness_google_rest_v4p9.json)"]]