Tuesday, April 10, 2012

Amazon’s web services (AWS)

Amazon’s web services (AWS) are cost-effective, dependable, flexible, comprehensive services that provides high-end infrastructure of Web service platform on cloud.

Amazon.com provides an API named as Amazon Product Advertising API through which we can fetch information regarding Amazon.com products and show them on our site. The site owner can also get the benefit of a referral fees upto 15% of the product's selling price for every purchase of Amazon.com products done via our website.
You need to create a Product Advertising API account at https://affiliateprogram.amazon.com/gp/flex/advertising/api/sign-in.html to use Amazon.com API facility.

After creating an account you will get an api key and a secret key associated with your account which you will need to use while fetching records from Amazon.com.

To only list Amazon.com products on your site will need the API key, the Secret Key and below mentioned signature key but if you wish to get referral fees for referrals then you need to be part of the Amazon associates program.
You can create an account for associates program at https://affiliate-program.amazon.com/.

After creating an account you will get an associate tag.

 For authentication we need to generate a signature key for every request to Amazon.com. In PHP, we can generate signature by using sha256 and hmac. The PHP code for generating signature key can be accessed at http://www.a2sdeveloper.com/page-rest-authentication-for-php4.html

 Amazon provides products for a number of categories like Books, DVD, Music etc. To get results from all categories a category named all can be used

No comments:

Post a Comment