This package is abandoned and no longer maintained. No replacement package was suggested.

PHP Client for Google APIs

0.6.6 2016-07-06 13:47 UTC

This package is auto-updated.

Last update: 2023-06-17 08:00:27 UTC



Google APIs Client Library for PHP

== Description
The Google API Client Library enables you to work with Google APIs such as Google+, Drive, Tasks, or Latitude on your server.

  PHP 5.2.x or higher []
  PHP Curl extension []
  PHP JSON extension []

Project page:

OAuth 2 instructions:

Report a defect or feature request here:

Subscribe to project updates in your feed reader:

Supported sample applications:

== Basic Example
  require_once 'path/to/src/Google_Client.php';
  require_once 'path/to/src/contrib/apiBooksService.php';

  $client = new Google_Client();
  $service = new Google_BooksService($client);

  $optParams = array('filter' => 'free-ebooks');
  $results = $service->volumes->listVolumes('Henry David Thoreau', $optParams);

  foreach ($results['items'] as $item) {
    print($item['volumeInfo']['title'] . '<br>');