Attention: There will be major changes to the API soon that will require migration work. Please check our upcoming releases page and deprecation schedule frequently for updates. You may also sign up for our mailing list to receive updates.

Libraries

The Google My Business API client libraries support the functionality of the Google My Business API. They provide functionality that's common to all Google APIs, such as HTTP transport, error handling, authentication, JSON parsing, and support for protocol buffers.

If you are new to the Google My Business API, check out the Get Started guides and code samples. For additional information on the client libraries, see Google API Client Libraries.

Prior versions of the client libraries and discovery documents are available on the Previous Versions page.

API Client library Client library reference Code samples
Account Management API
Discovery doc
Java Reference docs View on GitHub
Python Reference docs View on GitHub
.NET Reference docs View on GitHub
PHP View on GitHub
Lodging API
Discovery doc
Java Reference docs
Python Reference docs
.NET Reference docs
PHP
Place Actions API
Discovery doc
Java Reference docs
Python Reference docs
.NET Reference docs
PHP

Detailed error responses

To enable more detailed error messages in responses, such as absent required fields, add the following additional header to your requests:

X-GOOG-API-FORMAT-VERSION: 2

For additional information on error message responses, see the ErrorCode, ErrorDetail, InternalError, and ValidationError pages in the Shared.Types section.