You should use the Ruby / AWS library (for it Google, my karma is not high enough to allow external links ...). It was written just for that.
You may need to use the built-in search to find the item you are looking for. After that, the API provides access to images, links, and all useful information.
source
share