Re: [Esug-list] How to query Amazon information via a web service?

MK
Mirko Kiefer
Sun, Oct 31, 2010 5:54 PM

Stephane,
I haven't looked at the cloudfork code in detail but I'm sure you can
reuse the generic part of setting up the communication.
All Amazon Web Services communicate in the same way - its basically
about signing your requests with an HMAC signature using your secret
access-token.
Each API then defines certain query parameters. To do your ISBN queries
you can have a look here:
http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/index.html?ItemLookup.html

You will just need to supply the parameters IdType=ISBN and ItemId for
the actual ISBN.
Depending of the amount or kind of information you want to get you can
specifiy certain "ResponseGroups" in the request e.g. "Large" or "Medium".

Hope that helps.

Mirko

On 10/31/10 6:27 PM, Stéphane Ducasse wrote:

Thanks mirko
I will read that ;)
Like that I can learn something. Did you check cloudfork? do you know if there are some services communication I could reuse?

Stef

On Oct 31, 2010, at 6:13 PM, Mirko Kiefer wrote:

Hi Stephane,

I wrote a simple client for the Amazon Web Services in Node.js that allows you to do this kind of queries.
The implementation is quite straightforward - porting it to Smalltalk shouldn't be much work.
http://github.com/mirkok/Node-AWS

Mirko

On 10/31/10 5:51 PM, Stéphane Ducasse wrote:

Hi guys

I would like to get book information from an ISBN and I would like to query amazon.
Does any of you an experience with that and some pointers?

Stef


Esug-list mailing list
Esug-list@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org

Stephane, I haven't looked at the cloudfork code in detail but I'm sure you can reuse the generic part of setting up the communication. All Amazon Web Services communicate in the same way - its basically about signing your requests with an HMAC signature using your secret access-token. Each API then defines certain query parameters. To do your ISBN queries you can have a look here: http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/index.html?ItemLookup.html You will just need to supply the parameters IdType=ISBN and ItemId for the actual ISBN. Depending of the amount or kind of information you want to get you can specifiy certain "ResponseGroups" in the request e.g. "Large" or "Medium". Hope that helps. Mirko On 10/31/10 6:27 PM, Stéphane Ducasse wrote: > Thanks mirko > I will read that ;) > Like that I can learn something. Did you check cloudfork? do you know if there are some services communication I could reuse? > > Stef > > On Oct 31, 2010, at 6:13 PM, Mirko Kiefer wrote: > >> Hi Stephane, >> >> I wrote a simple client for the Amazon Web Services in Node.js that allows you to do this kind of queries. >> The implementation is quite straightforward - porting it to Smalltalk shouldn't be much work. >> http://github.com/mirkok/Node-AWS >> >> Mirko >> >> On 10/31/10 5:51 PM, Stéphane Ducasse wrote: >>> Hi guys >>> >>> I would like to get book information from an ISBN and I would like to query amazon. >>> Does any of you an experience with that and some pointers? >>> >>> Stef >>> _______________________________________________ >>> Esug-list mailing list >>> Esug-list@lists.esug.org >>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org
SD
Stéphane Ducasse
Sun, Oct 31, 2010 5:59 PM

Thanks!

Stef

On Oct 31, 2010, at 6:54 PM, Mirko Kiefer wrote:

Stephane,
I haven't looked at the cloudfork code in detail but I'm sure you can reuse the generic part of setting up the communication.
All Amazon Web Services communicate in the same way - its basically about signing your requests with an HMAC signature using your secret access-token.
Each API then defines certain query parameters. To do your ISBN queries you can have a look here:
http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/index.html?ItemLookup.html

You will just need to supply the parameters IdType=ISBN and ItemId for the actual ISBN.
Depending of the amount or kind of information you want to get you can specifiy certain "ResponseGroups" in the request e.g. "Large" or "Medium".

Hope that helps.

Mirko

On 10/31/10 6:27 PM, Stéphane Ducasse wrote:

Thanks mirko
I will read that ;)
Like that I can learn something. Did you check cloudfork? do you know if there are some services communication I could reuse?

Stef

On Oct 31, 2010, at 6:13 PM, Mirko Kiefer wrote:

Hi Stephane,

I wrote a simple client for the Amazon Web Services in Node.js that allows you to do this kind of queries.
The implementation is quite straightforward - porting it to Smalltalk shouldn't be much work.
http://github.com/mirkok/Node-AWS

Mirko

On 10/31/10 5:51 PM, Stéphane Ducasse wrote:

Hi guys

I would like to get book information from an ISBN and I would like to query amazon.
Does any of you an experience with that and some pointers?

Stef


Esug-list mailing list
Esug-list@lists.esug.org
http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org

Thanks! Stef On Oct 31, 2010, at 6:54 PM, Mirko Kiefer wrote: > Stephane, > I haven't looked at the cloudfork code in detail but I'm sure you can reuse the generic part of setting up the communication. > All Amazon Web Services communicate in the same way - its basically about signing your requests with an HMAC signature using your secret access-token. > Each API then defines certain query parameters. To do your ISBN queries you can have a look here: > http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/index.html?ItemLookup.html > > You will just need to supply the parameters IdType=ISBN and ItemId for the actual ISBN. > Depending of the amount or kind of information you want to get you can specifiy certain "ResponseGroups" in the request e.g. "Large" or "Medium". > > Hope that helps. > > Mirko > > > On 10/31/10 6:27 PM, Stéphane Ducasse wrote: >> Thanks mirko >> I will read that ;) >> Like that I can learn something. Did you check cloudfork? do you know if there are some services communication I could reuse? >> >> Stef >> >> On Oct 31, 2010, at 6:13 PM, Mirko Kiefer wrote: >> >>> Hi Stephane, >>> >>> I wrote a simple client for the Amazon Web Services in Node.js that allows you to do this kind of queries. >>> The implementation is quite straightforward - porting it to Smalltalk shouldn't be much work. >>> http://github.com/mirkok/Node-AWS >>> >>> Mirko >>> >>> On 10/31/10 5:51 PM, Stéphane Ducasse wrote: >>>> Hi guys >>>> >>>> I would like to get book information from an ISBN and I would like to query amazon. >>>> Does any of you an experience with that and some pointers? >>>> >>>> Stef >>>> _______________________________________________ >>>> Esug-list mailing list >>>> Esug-list@lists.esug.org >>>> http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org > > _______________________________________________ > Esug-list mailing list > Esug-list@lists.esug.org > http://lists.esug.org/mailman/listinfo/esug-list_lists.esug.org