amazon_functions for PHP (Version 0.9)
Making the work with™ Web Services Version 1.0 much easier


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. "") 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":


If you want to know how to work with the array the search returnes, please have a look at Work with the search reply.

© by, Daniel Filzhut 2002