library openlibrary-php
A PHP wrapper for the Open Library API
beezus/openlibrary-php
A PHP wrapper for the Open Library API
- Saturday, January 23, 2016
- by JD-Robbs
- Repository
- 1 Watchers
- 0 Stars
- 2 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Open Library API Client
Allows some interaction with the Open Library API using an object-based interface., (*1)
Installation
This package can be installed via Composer:, (*2)
composer require beezus/openlibrary-php
Basic usage
<?php
// This file is generated by Composer
require_once __DIR__ . '/vendor/autoload.php';
use OpenLibrary\API\Client as OpenLibraryAPI;
$api = new OpenLibraryAPI();
$book = $api->getBookByOLID( 'OL24222743M' );
echo $book->title;