[erlang-questions] Amazon API -- Lookup by ISBN -- amended

Garrett Smith <>
Thu Apr 9 01:45:35 CEST 2015


I'm completely punting on this problem, but can you take some code examples
provided in other languages and retrofit them for Erlang? If I'm hitting a
wall, I'll get something working in, say, Python - and then work toward
forming an identical request in Erlang.

Sorry for the lack of specificity here - but this is the approach I'd take
in your case.

OMG, I just realized that I top posted here!

On Wed, Apr 8, 2015 at 4:50 PM, <> wrote:

> Hello again,
>
> OK, I've found erlcloud. Looks like it has what I need. But user
> documentation is far to skimpy for my feeble brain:
>
> https://github.com/gleber/erlcloud
>
> Can some kind soul help me translate this example...
>
>
> http://docs.aws.amazon.com/AWSECommerceService/latest/DG/EX_LookupbyISBN.html
>
> ...into the appropriate erlcloud request function?
>
> Thanks,
>
> LRP
>
> -----Original Message-----
> From: 
> Sent: Wednesday, April 8, 2015 4:47pm
> To: "Erlang Questions" <>
> Subject: [erlang-questions] Amazon API -- Lookup by ISBN
>
> Hello,
>
> I'm striving to look up books in Amazon's db by ISBN. At first blush it
> looks easy enough:
>
>
> http://docs.aws.amazon.com/AWSECommerceService/latest/DG/EX_LookupbyISBN.html
>
> But the last item, Signature, baffles me. Procedure here:
>
>
> http://docs.aws.amazon.com/AWSECommerceService/latest/DG/rest-signature.html
>
> I'm fine with this until I hit step 4:
>
> -- Sort parameter/value pairs by byte value --- I can see how to do this
> manually, but don't know how put Erlang to the task
>
> And I'm really stumped when I hit step 8:
>
> -- Calculate an RFC 2104-compliant HMAC with the SHA256 hash algorithm
>
> Any help? Better yet, does anyone have actual code to make such requests
> they're willing to share?
>
> NOTE: Dave Thomas solved this problem way back in 2007. But looks like
> Amazon has changed their request format:
>
> http://pragdave.me/blog/2007/04/15/a-first-erlang-program/
>
> Many thanks,
>
> LRP
>
>
>
>
>
>
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150408/2e24d09f/attachment.html>


More information about the erlang-questions mailing list