| Category | Zend |
| Package | Zend_Service |
| Subpackage | Amazon |
| Copyright | Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) |
| License | http://framework.zend.com/license/new-bsd New BSD License |
| Category | Zend |
| Package | Zend_Service |
| Subpackage | Amazon |
| Copyright | Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) |
| License | http://framework.zend.com/license/new-bsd New BSD License |
| # $_baseUri | |
| # $_baseUriList | List of Amazon Web Service base URLs, indexed by country code |
| # $_rest | Reference to REST client object |
| # $_secretKey | |
| + $appId | Amazon Web Services Access Key ID |
| # _checkErrors() | Check result for errors |
| + buildRawSignature() | Build the Raw Signature Text |
| + computeSignature() | Compute Signature for Authentication with Amazon Product Advertising Webservices |
| + __construct() | Constructs a new Amazon Web Services Client |
| # _prepareOptions() | Prepare options for request |
| + getRestClient() | Returns a reference to the REST client |
| + itemLookup() | Look up item(s) by ASIN |
| + itemSearch() | Search for Items |
| + setRestClient() | Set REST client |
protected $_baseUriList = array('US' => 'http://webservices.amazon.com',
'UK' => 'http://webservices.amazon.co.uk',
'DE' => 'http://webservices.amazon.de',
'JP' => 'http://webservices.amazon.co.jp',
'FR' => 'http://webservices.amazon.fr',
'CA' => 'http://webservices.amazon.ca')protected $_rest = nullZend_Rest_Client
protected static function _checkErrors( |
DOMDocument $dom)
|
static public function buildRawSignature( |
$baseUri)
|
string $baseUri |
|
array $options |
static public function computeSignature( |
$baseUri)
|
string $baseUri |
|
string $secretKey |
|
array $options |
public function __construct( |
$appId)
|
string $appId |
Developer's Amazon appid |
string $countryCode |
Country code for Amazon service; may be US, UK, DE, JP, FR, CA |
$secretKey |
Zend_Service_AmazonZend_Service_Exception
protected function _prepareOptions( |
$query)
|
string $query |
Action to perform |
array $options |
|
array $defaultOptions |
public function getRestClient( |
)
|
Zend_Rest_Client
public function itemLookup( |
$asin)
|
string $asin |
Amazon ASIN ID |
array $options |
Zend_Service_Exception
public function itemSearch( |
array $options)
|
array $options |
Zend_Service_Amazon_ResultSetZend_Service_Exception
public function setRestClient( |
)
|