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.

7 Comments . Comments Feed . Trackback URI
Thu, 21 Dec 06 08:03 am . JasonOng wrote:

Salute! Thanks for opensourcing it! :)

Thu, 21 Dec 06 10:49 am . Herryanto Siatono wrote:

Np Jason, glad to be able to share as well. :)

Thu, 25 Jan 07 03:49 am . Patrick Bivona wrote:

Hi Herry,

Thanks for this; it’s easy to use and does the job. I spotted a few glitches though. I don’t know what’s the best way to talk to you; I couldn’t find any email on your website (and I can understand why :)

Thu, 25 Jan 07 08:31 am . Herryanto Siatono wrote:

Np Patrick. No email listed is to avoid spamming. :)

You can contact me through the ‘Hire Me’ (the link on the top right corner’ form. For bug reports or patch submission can do it from Rubyforge.

http://rubyforge.org/tracker/?group_id=2718

Thanks in advance!

Wed, 31 Oct 07 08:56 pm . RB wrote:

amazon-ecs must be good. But my server doesn’t support ruby. Is there any simple way to integrate amazon-ecs with php site?

BTW I’ve found another solution that uses Amazon E-commerce REST Service API that supports ECS 4.0: Magnik. It’s created with cakePHP and allowed to be installed as a separate web store. Any feedback on it?

Wed, 31 Oct 07 11:06 pm . Herryanto Siatono wrote:

Sorry RB, I’m not so sure about PHP library, but I believe there must be existing library available out there.

Thu, 24 Jan 08 09:30 pm . Ani wrote:

Hello Herry,

First of all thanks for the gem. Actually I was searching for ECS plugin. I found few on rubyforge but I was not sure which to use. Then I searched for better plugin for ECS and thanks to Google also, it brought me here (on your blog).

Thanks for opensourcing it!!! ;-)

Add Your Comment



(optional)