[erlang-questions] Amazon API -- Lookup by ISBN -- amended
Wed Apr 8 23:50:53 CEST 2015
OK, I've found erlcloud. Looks like it has what I need. But user documentation is far to skimpy for my feeble brain:
Can some kind soul help me translate this example...
...into the appropriate erlcloud request function?
Sent: Wednesday, April 8, 2015 4:47pm
To: "Erlang Questions" <erlang-questions@REDACTED>
Subject: [erlang-questions] Amazon API -- Lookup by ISBN
I'm striving to look up books in Amazon's db by ISBN. At first blush it looks easy enough:
But the last item, Signature, baffles me. Procedure here:
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:
erlang-questions mailing list
More information about the erlang-questions