-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathREADME
More file actions
30 lines (24 loc) · 1.48 KB
/
README
File metadata and controls
30 lines (24 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
This is a PHP API script for getting data from Amazon.com
With this script you can retrieve data like Amazon product price, Amazon market prices, review, description and more.
In order to use this API, you need Amazon Web Access (AWS) account.
You can create a free AWS account from here.
www.amazon.com/gp/aws/registration/registration-form.html
After you created the AWS account, you need following information.
Amazon AWS Access Key ID
Amazon Secret Access Key
Amazon Associate Tag
Please add these information in pricecheck.php
==========================================================================================================
[QueryString Options]
q : [Requred] search item (can either be UPS,ISBN,keyword, or category)
type : [Optional] http://www.amazon.com/gp/seller/asin-upc-isbn-info.html
search : [Optional] Amazon search index option (http://docs.amazonwebservices.com/AWSEcommerceService/4-0/ApiReference/SearchIndexValues.html)
num : [Optional] Return number of items (if omitted, the default value will be used. set -1 to get all possible number of items)
output : [Optional] xml/json/raw (default: raw)
[URL QueryStrings Format Examples]
http://example.com/amazon.php?q=vizio
http://example.com/amazon.php?q=vizio&output=json
http://example.com/amazon.php?q=9780764547164
http://example.com/amazon.php?q=9780764547164&type=UPC
http://example.com/amazon.php?q=9780764547164&type=ISBN&search=books
http://example.com/amazon.php?q=9780764547164&type=ISBN&search=books&num=3