My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
DeveloperGuide  
Developer's Guide for the Google APIs Client Library for Java
Updated Apr 10, 2014 by [email protected]

Written by Google, this library is a flexible, efficient, and powerful Java client library for accessing any HTTP-based API's on the web. It features a powerful and easy to use OAuth 2.0 and OAuth 1.0a library with a consistent interface. It's XML and JSON data models are light-weight, efficient, and support any data schema.

This is the recommended library for accessing Google API's, and features a set of generated libraries for Google APIs based on the new API infrastructure.

Supports these Java environments:

  • Java 5 (or higher) standard (SE) and enterprise (EE)
  • Android 1.5 (or higher) (details)
  • Google App Engine (details)

It does not support these Java environments:

  • Google Web Toolkit (GWT)
  • Java mobile (ME)
  • Java 1.4 (or earlier)

Getting Started

Take a look at short Google+ and YouTube samples, as well as samples of Google APIs.

Take a look at the detailed setup instructions for the structure of the library and its multiple components. It also includes instructions for Maven users.

See the Support page to ask questions, report bugs, discuss the library, and read the announcements.

Authentication

Supports these authentication methods (details):

Wire Formats

Supports these wire formats:

  • XML (JavaDoc)
  • JSON (details)
  • Media (images, videos)
  • JSON-RPC 2.0 (JavaDoc)

Other Information

For existing users of the GData Java client library, please read the Migration Guide.

This is an open-source library, and contributions are welcome.

Powered by Google Project Hosting