Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Amazon web services wrapper?

9 views
Skip to first unread message

Kevin Walzer

unread,
Feb 10, 2006, 7:26:36 PM2/10/06
to
Does anyone know of a Tcl-based wrapper for Amazon Web Services' API,
perhaps making use of TclSoap or TclXML? Python and Ruby have such
libraries, but I haven't been able to find any for Tcl. I'd rather
undertake my envisioned project in Tcl, but I don't feel comfortable
rolling my own wrapper.

--
Kevin Walzer
iReveal: File Search Tool
http://www.wordtech-software.com

davidh...@simplifiedlogic.com

unread,
Feb 11, 2006, 8:39:23 AM2/11/06
to
I think you are looking for pre-defined SOAP::create functions in
TclSOAP specific to Amazon.com. I don't think you will find that -
wtih the excpetion of one or two examples that people have done before.

I think your best bet will be to look at the WSDL from Amazon.com and
code to that contents...

You might look at the SOAP::create commands in this Google code as a
reference:

http://mini.net/tcl/8322

Maybe someone else has a quick example of how to do this with Amazon.

Dave

Eckhard Lehmann

unread,
Feb 12, 2006, 6:25:49 AM2/12/06
to

Kevin Walzer wrote:
> I'd rather
> undertake my envisioned project in Tcl, but I don't feel comfortable
> rolling my own wrapper.

Why not? If you have the problem burning on your nails, you are in the
perfect situation to develop the wrapper. Others would take it over
later and use/improve it...

That's the way 99.9 percent of the Tcl libraries were probably created.
If nobody "feels comfortable" to do it, it won't be done at all.


Eckhard

Adrian Ho

unread,
Feb 12, 2006, 10:14:21 AM2/12/06
to
On 2006-02-11, Kevin Walzer <s...@wordtech-software.com> wrote:
> Does anyone know of a Tcl-based wrapper for Amazon Web Services' API,
> perhaps making use of TclSoap or TclXML? Python and Ruby have such
> libraries, but I haven't been able to find any for Tcl.

Based on other responses, I'd say the reason is because no one has
actually done anything about it, so you're probably breaking new ground
here.

> I'd rather undertake my envisioned project in Tcl, but I don't feel
> comfortable rolling my own wrapper.

Well, if you really want to use Tcl, I don't think you'll have much
choice but to roll your own. I had a similar problem just last week
with TclSOAP and eBay, with even fewer responses than you got (ie. zero).
I did, however, manage to make substantial progress with a little trick --
if you haven't already done so, read:

<http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/cc9a51f151d28825/a4df1e22e37d27e6>

to see what I did to overcome TclSOAP's (or my, the jury's still out
on that 8-) seeming inability to emit the exact XML that eBay's WS-API
expected. That should hopefully give you some ideas on how to tackle
Amazon WS on your own.

G'luck!

- Adrian

Kevin Walzer

unread,
Feb 12, 2006, 10:56:27 AM2/12/06
to
Adrian Ho wrote:

>
> Based on other responses, I'd say the reason is because no one has
> actually done anything about it, so you're probably breaking new ground
> here.
>
>> I'd rather undertake my envisioned project in Tcl, but I don't feel
>> comfortable rolling my own wrapper.
>
> Well, if you really want to use Tcl, I don't think you'll have much
> choice but to roll your own.

Or, if I am not *that* wedded to using Tcl, I can use PyAmazon, which
already has everything I need. Which is probably the way I'm going to
go. :-)

0 new messages