Filzhut.net amazon_functions for PHP (Version 0.9)amazon_search_asin
Returns up to 30 articles in an array with the parsed XML-result
amazon_search_asin(var asins, [, int type [, int format]])
With this function you can query amazon™ for products by asins. If you want to receive more than one product you can separate the asins by comma, semikolon or space. You can use up to 10 asins in the HEAVY and up to 30 in the LITE version. Setting the type is optional: It gives you the possibility to determine the volume of the reply. LIGHT(default) returns less product-information than HEAVY.
If you are able to create XSL pages, you can set the URL of such a page as format (f.e. "http://www.yourserver.com/directory/file.xsl") and the result of this function won't be an array, but the XSL with the data the search returned.
Example 1. Get product with ASIN "039480001X":
$Reply=amazon_search_asin("039480001X");
|