beezus / openlibrary-php

A PHP wrapper for the Open Library API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Open Library API Client

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;

About

A PHP wrapper for the Open Library API


Languages

Language:PHP 100.0%