Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergeylukin/amazon-product-search
PHP library that allows searching for products on amazon.com store
https://github.com/sergeylukin/amazon-product-search
Last synced: 27 days ago
JSON representation
PHP library that allows searching for products on amazon.com store
- Host: GitHub
- URL: https://github.com/sergeylukin/amazon-product-search
- Owner: sergeylukin
- Created: 2015-10-28T02:08:53.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-28T09:36:52.000Z (about 9 years ago)
- Last Synced: 2024-11-21T05:41:18.256Z (about 2 months ago)
- Language: PHP
- Size: 152 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Amazon product search [![Build Status](https://travis-ci.org/sergeylukin/amazon-product-search.png?branch=master)](https://travis-ci.org/sergeylukin/amazon-product-search)
Library that allows searching for products on amazon.com store.
# Installation
Use composer to require in your `composer.json`:
```
"sergeylukin/amazon-product-search": "dev-master"
```or just run `composer require sergeylukin/amazon-product-search`
# Usage
```php
findOneProductByKeyword('latte cup');print_r($Product);
```sample output:
```php
stdClass Object
(
[title] => Best latte cup
[price] => $12.05
[image_uri] => http://example.com/latte-cup.jpg
[description] => The best latte cup you will ever drink latte from. Period.
)
```# Development
Install [git](http://git-scm.com) and [composer](http://getcomposer.org)
```
git clone https://github.com/sergeylukin/amazon-product-search.git
composer install
```Run tests:
```
./vendor/bin/codecept run
```# License
MIT