Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

array
$_baseUriList= 'array('US' => 'http://webservices.amazon.com''
List of Amazon Web Service base URLs, indexed by country code
array('US' => 'http://webservices.amazon.com'
Details
__construct(
string $appId, string $countryCode
=
'US', $secretKey
=
null
)
:
\Zend_Service_Amazon
Constructs a new Amazon Web Services Client
Name | Type | Description |
---|---|---|
$appId | string | Developer's Amazon appid |
$countryCode | string | Country code for Amazon service; may be US, UK, DE, JP, FR, CA |
$secretKey |
Type | Description |
---|---|
\Zend_Service_Amazon |
Exception | Description |
---|---|
\Zend_Service_Exception |

_checkErrors(
\DOMDocument $dom
)
:
void
Check result for errors
Name | Type | Description |
---|---|---|
$dom | \DOMDocument |
Exception | Description |
---|---|
\Zend_Service_Exception |

_prepareOptions(
string $query, array $options, array $defaultOptions
)
:
array
Prepare options for request
Name | Type | Description |
---|---|---|
$query | string | Action to perform |
$options | array | User supplied options |
$defaultOptions | array | Default options |
Type | Description |
---|---|
array |

buildRawSignature(
string $baseUri, array $options
)
:
string
Build the Raw Signature Text
Name | Type | Description |
---|---|---|
$baseUri | string | |
$options | array |
Type | Description |
---|---|
string |

computeSignature(
string $baseUri, string $secretKey, array $options
)
:
string
Compute Signature for Authentication with Amazon Product Advertising Webservices
Name | Type | Description |
---|---|---|
$baseUri | string | |
$secretKey | string | |
$options | array |
Type | Description |
---|---|
string |

getRestClient(
)
:
\Zend_Rest_Client
Returns a reference to the REST client
Type | Description |
---|---|
\Zend_Rest_Client |

itemLookup(
string $asin, array $options
=
array()
)
:
\Zend_Service_Amazon_Item|\Zend_Service_Amazon_ResultSet
Look up item(s) by ASIN
Name | Type | Description |
---|---|---|
$asin | string | Amazon ASIN ID |
$options | array | Query Options |
Type | Description |
---|---|
\Zend_Service_Amazon_Item|\Zend_Service_Amazon_ResultSet |
Exception | Description |
---|---|
\Zend_Service_Exception |

itemSearch(
array $options
)
:
\Zend_Service_Amazon_ResultSet
Search for Items
Name | Type | Description |
---|---|---|
$options | array | Options to use for the Search Query |
Type | Description |
---|---|
\Zend_Service_Amazon_ResultSet |
Exception | Description |
---|---|
\Zend_Service_Exception |

setRestClient(
$client
)
:
\Zend_Service_Amazon
Set REST client
Name | Type | Description |
---|---|---|
$client | Zend_Rest_Client |
Type | Description |
---|---|
\Zend_Service_Amazon |