Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Library to simplify integrating your application with textbook price apis.

License

Notifications You must be signed in to change notification settings

packbackbooks/textbook-prices

Repository files navigation

Packback Textbook Price Client

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

This public project is designed to make getting used, new, and rental book prices from the most common textbook sellers easy. The following clients can be accessed with this project:

  • AbeBooks
  • Amazon
  • BookRenter (via CommissionJunction)
  • Cengage (via CommissionJunction)
  • Chegg
  • Skyo (via CommissionJunction)
  • ValoreBooks

Getting prices from a provider

All clients extend the abstract PriceClient class. As an example, get prices from Abe Books for a group of ISBNs is done as follows:

$isbns = [
    // ISBNS
];
$abeBooks = new AbeBooksPriceClient([
    'access_key' => <ABEBOOKS ACCESS KEY>
]);

$prices = $abeBooks->getPricesForIsbns($isbns);

Including in your project

Add the following to your composer.json file:

"require": {
        "packbackbooks/textbook-prices": "~0.1.4"
}

You must also have "minimum-stability": "dev" in your composer.json file so that Composer can fetch dev-master versions of packages.

Notes

This package is compliant with PSR-1, PSR-2 and PSR-4. If you notice compliance oversights, please send a patch via pull request.

About

Library to simplify integrating your application with textbook price apis.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages