Skip to content

Commit b8f30d4

Browse files
committed
Merge pull request googleapis#382 from mayeco/patch-1
Add a little spaces to the PHP example
2 parents b659a40 + 2f48b50 commit b8f30d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,21 @@ For the latest installation and setup instructions, see [the documentation](http
2525
See the examples/ directory for examples of the key client features.
2626
```PHP
2727
<?php
28+
2829
require_once 'google-api-php-client/autoload.php'; // or wherever autoload.php is located
30+
2931
$client = new Google_Client();
3032
$client->setApplicationName("Client_Library_Examples");
3133
$client->setDeveloperKey("YOUR_APP_KEY");
34+
3235
$service = new Google_Service_Books($client);
3336
$optParams = array('filter' => 'free-ebooks');
3437
$results = $service->volumes->listVolumes('Henry David Thoreau', $optParams);
3538

3639
foreach ($results as $item) {
3740
echo $item['volumeInfo']['title'], "<br /> \n";
3841
}
42+
3943
```
4044

4145
## Frequently Asked Questions ##

0 commit comments

Comments
 (0)