Reputation: 1
How to get product image by Amazon Inventory Management ( AIM ) APIs
Upvotes: 0
Views: 9649
Reputation: 1401
You will not be able to get product images using the Amazon Inventory Management API. You will need to use the Amazon Product Advertising API to get product features such as images, dimensions, publisher, sales rank etc...
If you are trying to get the product image for, say, every product in a merchant's inventory, you should:
Your request should look like:
http://ecs.amazonaws.com/onca/xml?
AWSAccessKeyId=[AWS Access Key ID]&
Operation=ItemLookup&
ItemId=[Your-ASIN]&
ResponseGroup=Images&
Timestamp=[YYYY-MM-DDThh:mm:ssZ]&
Signature=[Request Signature]
The response will look like:
<Item>
<ASIN>[Your-ASIN]</ASIN>
<SmallImage>
<URL>http://ecx.images-amazon.com/images/I/....jpg</URL>
<Height Units="pixels">75</Height>
<Width Units="pixels">58</Width>
</SmallImage>
<MediumImage>
<URL>http://ecx.images-amazon.com/images/I/....jpg</URL>
<Height Units="pixels">160</Height>
<Width Units="pixels">124</Width>
</MediumImage>
<LargeImage>
<URL>http://ecx.images-amazon.com/images/I/....jpg</URL>
<Height Units="pixels">500</Height>
<Width Units="pixels">389</Width>
</LargeImage>
</Item>
You can easily parse the response to get the URL of the image you want to use.
A few notes:
Upvotes: 3
Reputation: 2940
Total disclosure here, I’m Max and I’m the technical co-founder for Zinc (zinc.io). Our API produces a JSON response for both pricing and the product details page. Here’s a typical response for the details of an ASIN: https://www.dropbox.com/s/peccdc1m2j34e0d/B018QPI98A.json?dl=0
Upvotes: 0
Reputation: 25
You can use the Amazon to Article Info Interface at http://lon.gr/ata/ It generates a XML-File containing the Image URL and other Article information based on the ASIN.
Upvotes: 0