PHP Classes
elePHPant
Icontem

PHP Google Books API: Search for books using Google Books API

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-12-15 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 155 All time: 8,656 This week: 285Up
Version License PHP version Categories
cgooglebooksapi 1.0.4BSD License5PHP 5, Searching, Web services
Description Author

This class can search for books using Google Books API.

It takes an array of optuons and sends HTTP requests to Google Books API Web server using either file_get_contents or curl.

The class retrieves and decodes the results and store it in an array that lists the found books title, authors, publisher, categories, ISBN and thumbnail URL.

The search parameters include the book title, categories, start index, results limit, and get book details.

Innovation Award
PHP Programming Innovation award nominee
October 2016
Number 7


Prize: One downloadable copy of Komodo IDE
Google Books is a well known service provided by Google that indexes a large number of books that were scanned, so users can search them by title, author, and even their contents.

This class provides an interface to the Google Books API to perform searches for books indexed on Google Books.

Manuel Lemos
  Performance   Level  
Name: Mohammed Asad <contact>
Classes: 2 packages by
Country: India India
Age: 30
All time rank: 3501243 in India India
Week rank: 695 Up46 in India India Up
Innovation award
Innovation award
Nominee: 2x

 

Details
This class is created in a good intention to fetch google books api without using any google auth credentials
Hence, its accuracy is 70%. Well, it also has limitations based on the google,as it can fetch only 40 at a time.
Screenshots  
  • SimpleBookSearchForm
  Files folder image Files  
File Role Description
Files folder imagecgooglebooksAPi (2 files, 2 directories)
Accessible without login Plain text file README.txt Doc. Documentation

  Files folder image Files  /  cgooglebooksAPi  
File Role Description
Files folder imagesrc (1 file)
Files folder imagetests (2 files)
  Accessible without login Plain text file LICENSE Lic. License text
  Accessible without login Plain text file README.txt Doc. Documentation

  Files folder image Files  /  cgooglebooksAPi  /  src  
File Role Description
  Plain text file cgoogleBooksApi.class.php Class Class source

  Files folder image Files  /  cgooglebooksAPi  /  tests  
File Role Description
  Accessible without login Plain text file simpleFetch.php Example Example script
  Accessible without login Plain text file simpleWebForm.php Example Example script

Downloadcgooglebooksapi-2016-12-15.zip 56KB
Downloadcgooglebooksapi-2016-12-15.tar.gz 36KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
cURL Download .zip .tar.gz incase if their file_get_contents does not work Optional
 Version Control Unique User Downloads Download Rankings  
 85%
Total:155
This week:0
All time:8,656
This week:285Up