ASA2 Functions
  • Package
  • Function

Packages

  • API
  • Helper
  • i18n
  • Options
  • OptionsShortcuts
  • Renderer
  • Repo

Functions

  • asa2_item_batch_lookup
  • asa2_item_lookup
  • asa2_item_lookup_api
  • asa2_item_search

Function asa2_item_lookup_api

Performs the Amazon API operation ItemLookup. Will be removed with version 1.8.1

Example:

$item = asa2_item_lookup_api('B01M2AYHBV', array('country_code' => 'UK'));
if (asa2_is_item_object($item)) {
echo '<h3>' . $item->getTitle() . '</h3>';
}
Package: API
Deprecated: Use asa2_item_lookup instead which will get an additional parameter to force API request with the next update.
Since: 1.8.0
Located at functions_service.php

Parameters summary

string $asin Amazon ASIN.
array $options Optional. Additional lookup parameters.
boolean $throwException = true Optional. Default: true. If set to true, throws a PHP exception on error.

Return value summary

Asa2_Service_Amazon_Item_Wrapper_Abstract|null Asa2_Service_Amazon_Item_Wrapper_Abstract|null
ASA2 Functions API documentation generated by ApiGen