Предыдущие версии
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Клиентские библиотеки для Google My Business API поддерживают функции, стандартные для всех API Google, например HTTP-передачу, обработку ошибок, аутентификацию, синтаксический анализ JSON и буферы протокола. Доступны следующие прежние версии клиентских библиотек и примеры приложений:
Версия 4.9
Вы можете скачать клиентские библиотеки для Java и PHP:
Клиентская библиотека Java (включая исходный код)
Клиентская библиотека C#
Клиентская библиотека PHP
Инструкции по интеграции клиентской библиотеки Java в приложение вы можете найти в статье о том, как работать с клиентскими библиотеками.
Чтобы подготовить пример приложения на Java к работе в среде Eclipse, можно использовать Gradle. Подробнее о плагинах Eclipse…
Документ discovery
Документ discovery для Google My Business API – это документ JSON, в котором описана платформа для определенной версии API. Он используется вместе с Google API Discovery Service.
Скачать документ discovery
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-08-29 UTC.
[null,null,["Последнее обновление: 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)"]]