phoet / asin

:books: :package: Amazon Simple INterface - Support for ItemLookup, SimilarityLookup, Search, BrowseNode and Cart Operations
http://asin.herokuapp.com/
167 stars 59 forks source link

Accept an array of ASINs in lookup method. #8

Closed iamteem closed 13 years ago

iamteem commented 13 years ago

This patch will allow passing an array of ASINs to the lookup method. There's a limit of 10 ids per lookup in Amazon but this patch doesn't check for that.

phoet commented 13 years ago

i changed the interface to use varargs, so that you can still pass in just a single asin, but it will always return an array of items.

phoet commented 13 years ago

pushed 0.6.0 to gemcutter