Home AMX User Forum AMX General Discussion

Amazon Web Services/Album Artwork

Have someone tried to work with Amazon Web Services to get the album artwork?

I get some VB codes and I figuring out some way to translate to netlinx?

You only need the dock reponse have Artist and/or music name...

It gives a .XML with the image URL. ]

It's a shame AMX haven't developed one module for this. (Obs: i got some information there is some C* modules that uses this way for their ipod dock's)


I've seen the HTTP request and is something like this

http://webservices.amazon.com/onca/xml?Service=AWSECommerceService&Version=2005-03-23&Operation=ItemSearch&SubscriptionId=[YOUR AMAZON ID ]&AssociateTag=[YOUR AMAZON KEY]&SearchIndex=Music&Artist=[QUERY PARAMETERS]&ResponseGroup=Images

You need to sign up to get your AMAZON ID and AMAZON KEY, at http://aws.amazon.com/
the QUERY PARAMETERS are the music and artist.

but still there is something going wrong, probably amazon change something and the request don't work (the code that I get was developed in 2004)

So if anyone know the request that is needed, please share.


Ok guys so let's try making this thing work!

Comments

  • Amazon has changed the way the query should be constructed in august 2009. You now have to supply a rather complex checksum (SHA1 hash) at the end of your request, they call it 'signed requests'. I tried to code it in netlinx but was unable to build such a function.

    I resorted to using www.apisigning.com. You supply the unsigned request and it returns the signed URL. Works pretty fast.
  • DiogoDiogo Posts: 65
    Thanks,

    The apisigning should work :).

    But for Sha1 checksum, probably exists a java code for that, then could be possible create a duet module for this checksum.
Sign In or Register to comment.