Ruby Amazon E-Commerce REST Service API (amazon-ecs)
When I planned to migrate BookJetty from Java to Ruby On Rails (RoR), I looked around for a ruby library to access Amazon E-commerce Service (ECS).
The first library I found was Ruby/Amazon, a very easy to use API, but supports only version 3.1 API. While I need the latest version, ECS 4.0.
There are no other ECS ruby library out there, so I turned to SOAP4R, afterall I used SOAP on Java platform.
A happy man I was, but not for long. Coding with SOAP generated classes was not so pretty, when an element is not available, calling the attribute will throw method not found exception, so you always need to check if an attribute is available or not. What matters most is Ruby SOAP performance is quite slow, especially when retrieving large data set.
So I needed a Ruby Amazon E-commerce REST Service API that supports ECS 4.0. Since I couldn’t find it, I wrote the codes 2 days ago, I have just open-sourced it as amazon-ecs. Happy Amazoning!!
Click here to start exploring amazon-ecs.

Add Your Comment