desmond/google-books

Google Books API

Installs: 42

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 1

pkg:composer/desmond/google-books

dev-master 2015-08-16 00:24 UTC

This package is not auto-updated.

Last update: 2025-10-12 11:26:27 UTC


README

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

Usage

$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
}