Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kingdido999/google-books
- Owner: kingdido999
- Created: 2015-07-22T19:35:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-10-02T03:37:19.000Z (about 6 years ago)
- Last Synced: 2024-04-10T14:26:16.578Z (7 months ago)
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
}
```