kdaviesnz/amazonproductsearch
Composer 安装命令:
composer require kdaviesnz/amazonproductsearch
包简介
Amazon product search
README 文档
README
PHP Component to search Amazon for products.
Install
Via Composer
$ composer require kdaviesnz/amazonproductsearch
Usage
Import the tables in amazon.sql into your database. Edit src/config.php so that it uses your credentials. To search for a specify product: $result = \kdaviesnz\amazon\AmazonProductSearch::itemSearch( 'B00136LUWW', "ASIN" ); Similar products: $similar_products = $result->frequently_bought_together(); Related products: $related_products = $result->related_products( 'Tracks' ); Search by category: $to = 1; $result = \kdaviesnz\amazon\AmazonProductSearch::search( 'cats', $to, \kdaviesnz\amazon\AmazonSort::sortByBest(), \kdaviesnz\amazon\AmazonFilter::noFilter(), '', 'All' ); ## Change log Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently. ## Testing ``` bash $ composer test
Contributing
Please see CONTRIBUTING ) for details.
Security
If you discover any security related issues, please email :author_email instead of using the issue tracker.
Credits
- Kevin Davies
License
The MIT License (MIT). Please see License File for more information.
amazonproductsearch
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-03-16