Function asa2_item_batch_lookup
Performs the Amazon API operation ItemLookup with support for multiple ASINs.
Example:
$result = asa2_item_batch_lookup(array( array( 'asin' => 'B06Y5ZW72J', 'country_code' => 'UK' ), array( 'asin' => 'B01DOIFV12', 'country_code' => 'DE' ) )); foreach ($result as $item) { if (asa2_is_item_object($item)) { echo '<h3>' . $item->getTitle() . '</h3>'; } }
Parameters summary
array |
$batch |
The items for the lookup operation. See example above. |
array |
$options = array() |
Optional. Options for the API lookup operation. |
Return value summary
array|null
|
Array of Asa2_Service_Amazon_Item_Wrapper_Abstract objects or null on error. |