File: cgooglebooksAPi/tests/simpleFetch.php

Recommend this page to a friend!
  Classes of Mohammed Asad  >  PHP Google Books API  >  cgooglebooksAPi/tests/simpleFetch.php  >  Download  
File: cgooglebooksAPi/tests/simpleFetch.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Google Books API
Search for books using Google Books API
Author: By
Last change:
Date: 4 years ago
Size: 698 bytes



Class file image Download
    * A simple example to use the class
    * Currently, I fetch title, authors,publisher, description, categories, isbn, thumbnail_url
    * If you need more data you are free to add and use it,
    * More parameter details can be found here. //
require '../src/cgoogleBooksApi.class.php';

$objgoogleBooksApi = new cgoogleBooksApi();
$arrmixStrBooksData = json_decode( $objgoogleBooksApi->fetchGoogleBooks(), true );

print_r( $arrmixStrBooksData );


For more information send a message to info at phpclasses dot org.