Skip to content

Commit

Permalink
integrated Google README into Spark README to avoid conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
joeauty committed Apr 14, 2012
1 parent 9d2e69d commit b0f24d3
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 41 deletions.
56 changes: 55 additions & 1 deletion README.mdown
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The Google API Client is used to interact with a plethora of Google web services
- User Info
- Web Fonts

All of the included documentation is included within this Spark directory (including Google's README file, LICENSE, NOTICE, examples, etc.)
All of the included documentation is included within this Spark directory (including Google's README file, included at the bottom of this document, LICENSE, NOTICE, examples, etc.)

Why Didn't You Port Anything To Codeigniter-ese?
------------------------------------------------
Expand Down Expand Up @@ -115,3 +115,57 @@ You can now access these Google services via the included example code, included
}
?>


The original Google README file is included below:


Google APIs Client Library for PHP
==================================

Description
-----------

The Google API Client Library enables you to work with Google APIs such as Buzz, Moderator, Tasks, or Latitude on your server.

Requirements:

- PHP 5.2.x or higher [http://www.php.net/](http://www.php.net/)
- PHP Curl extension [http://www.php.net/manual/en/intro.curl.php](http://www.php.net/manual/en/intro.curl.php)
- PHP JSON extension [http://php.net/manual/en/book.json.php](http://php.net/manual/en/book.json.php)

Project page:

[http://code.google.com/p/google-api-php-client](http://code.google.com/p/google-api-php-client)

OAuth 2 instructions:

[http://code.google.com/p/google-api-php-client/wiki/OAuth2](http://code.google.com/p/google-api-php-client/wiki/OAuth2)

Report a defect or feature request here:

[http://code.google.com/p/google-api-php-client/issues/entry](http://code.google.com/p/google-api-php-client/issues/entry)

Subscribe to project updates in your feed reader:

[http://code.google.com/feeds/p/google-api-php-client/updates/basic](http://code.google.com/feeds/p/google-api-php-client/updates/basic)

Supported sample applications:

[http://code.google.com/p/google-api-php-client/wiki/Samples](http://code.google.com/p/google-api-php-client/wiki/Samples)

Basic Example
-------------

<?php
require_once 'path/to/src/apiClient.php';
require_once 'path/to/src/contrib/apiBooksService.php';
$client = new apiClient();
$service = new apiBooksService($client);
$optParams = array('filter' => 'free-ebooks');
$results = $service->volumes->listVolumes('Henry David Thoreau', $optParams);

foreach ($results['items'] as $item) {
print($item['volumeInfo']['title'] . '<br>');
}
40 changes: 0 additions & 40 deletions google-README

This file was deleted.

0 comments on commit b0f24d3

Please sign in to comment.