kdaviesnz / amazonproductsearch
Amazon product search
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:component
Requires
- php: ~7.0
- cpigroup/php-amazon-mws: 1.4.2
- exeu/apai-io: 2.1.0
Requires (Dev)
- phpunit/phpunit: >=5.4.3
- squizlabs/php_codesniffer: ^2.3
This package is not auto-updated.
Last update: 2025-03-02 08:29:40 UTC
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.