2017 © Pedro Peláez
 

library bookfinder

A php library to find books via different apis

image

sprain/bookfinder

A php library to find books via different apis

  • Monday, September 22, 2014
  • by sprain
  • Repository
  • 2 Watchers
  • 6 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

SprainBookFinder

A php library to find books via different apis, (*1)

Functionalities

  • Find books by ISBN over different providers
  • Included providers:
    • Google Books API
    • Amazon Product Advertising API
  • Add custom providers to find books e.q. in local database

Installation

Add SprainBookFinder in your composer.json:, (*2)

{
    "require": {
        "sprain/bookfinder": "~0.1"
    }
}

Now tell composer to download the bundle by running the command:, (*3)

``` bash $ php composer.phar update sprain/bookfinder, (*4)


## Usage See [example.php](example.php) for usage. ## Add custom provider Adding your own provider is simple: ### Create provider ```php <?php namespace Acme\Your\Namespace; use Sprain\BookFinder\Providers\BaseProvider\BaseProvider; use Sprain\BookFinder\Providers\Interfaces\ProviderInterface; class MyCustomProvider extends BaseProvider implements ProviderInterface { public function searchByIsbn($isbn) { // perform search, e.q. in a local database } public function getResults() { // return array of normalized results } public function getDefaultName() { return 'My Own Awesome Book Provider'; } }

Add provider to BookFinder

Add your provider to the providers array as seen in example.php., (*5)

License

This bundle is under the MIT license. See the complete license in the bundle:, (*6)

Resources/meta/LICENSE

The Versions

22/09 2014

dev-master

9999999-dev https://github.com/Sprain/SprainBookFinder

A php library to find books via different apis

  Sources   Download

MIT

The Requires

 

isbn books

22/09 2014
14/09 2014

0.1.5

0.1.5.0 https://github.com/Sprain/SprainBookFinder

A php library to find books via different apis

  Sources   Download

MIT

The Requires

 

isbn books

14/09 2014

0.1.4

0.1.4.0 https://github.com/Sprain/SprainBookFinder

A php library to find books via different apis

  Sources   Download

MIT

The Requires

 

isbn books

14/09 2014
14/09 2014
14/09 2014
14/09 2014