承接 packbackbooks/textbook-prices 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

packbackbooks/textbook-prices

最新稳定版本:0.1.5

Composer 安装命令:

composer require packbackbooks/textbook-prices

包简介

Making it simple to integrate your application with textbook price apis.

README 文档

README

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.

统计信息

  • 总下载量: 391
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 13
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2015-07-10