[PEAR] Installing Services_Amazon and Trying Out the Amazon API

Tadashi Shigeoka ·  Wed, September 7, 2011

I installed PEAR’s Services_Amazon and tried using the Amazon API.

・Reference: Using Amazon API to Easily Retrieve Rankings - EC studio Technical Blog

1. Installing PEAR HTTP_Request2

# pear install -a HTTP_Request2-alpha
※This is used within HTTP_Request that Services_Amazon uses, so install this first.

※Please specify the latest version (state) for installation.

※When installing, the “-a” option is specified to install dependent packages together.

2. Installing PEAR Services_Amazon

# pear install -a Services_Amazon-beta

3. Checking if Installation was Successful

# pear list

If the following four packages are installed, you’re good to go. (Versions as of 2011/05/17)

Cache            1.5.6    stable
HTTP_Request2    2.0.0RC1 beta
Services_Amazon  0.8.0    beta
XML_Serializer   0.20.2   beta

That’s all from the Gemba.