beezus/openlibrary-php

There is no license information available for the latest version (1.0) of this package.

A PHP wrapper for the Open Library API

1.0 2021-09-19 00:04 UTC

This package is not auto-updated.

Last update: 2024-05-01 08:38:42 UTC


README

Allows some interaction with the Open Library API using an object-based interface.

Installation

This package can be installed via Composer:

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;