Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kingdido999/google-books

Google Books API for PHP >= 5.3.0
https://github.com/kingdido999/google-books

Last synced: about 22 hours ago
JSON representation

Google Books API for PHP >= 5.3.0

Awesome Lists containing this project

README

        

# Google Books API

Google Books API for PHP >= 5.3.0. It currently only supports searching a specific book by ISBN.

## Usage

```php
$key = 'YOUR_API_KEY';
$query = '084930315X'; // 10 or 13 digits ISBN

$book = new GoogleBooks\GoogleBooks($key);

if ($book->searchByISBN($query))
{
// success
$title = $book->getTitle();
}
else
{
// error
}
```