PHP code example of beezus / openlibrary-php

1. Go to this page and download the library: Download beezus/openlibrary-php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

beezus / openlibrary-php example snippets




// This file is generated by Composer
I;

$api = new OpenLibraryAPI();
$book = $api->getBookByOLID( 'OL24222743M' );
echo $book->title;
bash
composer