Samples and libraries

The Google API client libraries are the recommended way to use the Content API. The client libraries eliminate the need to manually set up HTTP requests and parse the responses. They also provide language integration, improved security, and support for calls that require user authorization.

Use the client libraries

The easiest way to get started with the client libraries is to download the code examples from GitHub and run one of the sample files. If you are new to the Content API, be sure to also check out the Get started guide. For additional information about setting up and using the client libraries, see Google API Client Libraries.

Samples and libraries for Content API v2.1 (stable version)

Client library Code examples Client library reference for Content API
Java View on GitHub Reference docs
Python View on GitHub Reference docs
.NET View on GitHub Reference docs
PHP View on GitHub Reference docs
Go View on GitHub
Ruby View on GitHub
JavaScript
Node.js
Objective-C