IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
foo_uie_biography vbs using Amazon PA API
romor
post Jan 11 2011, 20:32
Post #1





Group: Members
Posts: 682
Joined: 16-January 09
Member No.: 65630



Attached File  foo_amazon.7z ( 4.66K ) Number of downloads: 414

I'm uploading this archive here as script inside has wsc dependence, which may be challenging for some users to make it work, although it's nothing complicated: both files needs to be in same folder

Files inside:
foo_amazon.vbs // foo_uie_biography vbs script
SHA-256.wsc // js hash algorithm needed for signing request


It's working framework for fetching Amazon reviews based on Product Advertising API

Basic usage: cscript //Nologo foo_amazon.vbs "%album artist%" "%album"

or: cscript //Nologo foo_amazon.vbs ASIN# if user has ASIN tag

Script also accepts creator roles (for classical music):

cscript //Nologo foo_amazon.vbs "Conductor=%conductor%" %album%

i.e. foo_amazon.vbs "Conductor=John Eliot Gardiner" "Great Mass in C minor" outputs:

QUOTE
Release: Mozart: Great Mass in C minor /McNair * Montague * Rolfe Johnson * Hauptmann * English Baroque Soloists * Gardiner
ASIN: B0000040YW

John Eliot Gardiner conducts Mozart's Great Mass with the Monteverdi Choir and the English Baroque Soloists. Or rather, what exists of the work: Mozart had imagined a work so ambitious it could never have been completed. What we do have--thanks partly to reconstruction by the conductor of this recording--is one of Mozart's most idiosyncratic works, rich in contrasts between the past (Bach and Handel) and the present (modern Italian composition). A wonderful disc.

Review by Joshua Cody


Other creator roles include Composer and Author and all use Classical SearchIndex. If roles aren't set (basic usage), general music is assumed


--------------------
scripts: http://goo.gl/M1qVLQ
Go to the top of the page
+Quote Post
MDMA
post May 4 2011, 12:05
Post #2





Group: Members
Posts: 75
Joined: 23-May 10
Member No.: 80861



this is awesome! big fan...how easy is it to adapt these scripts? was hoping to sort one out that lists information from discogs, such as previous releases, similar artists etc.

Go to the top of the page
+Quote Post
romor
post May 7 2011, 03:16
Post #3





Group: Members
Posts: 682
Joined: 16-January 09
Member No.: 65630



it should be easier that amazon for sure, as you won't need to do crypto acrobatics with something not designed to do so - VBS
plus, data provided by discogs is more relevant for music player then amazon data, but I posted it as possible framework

of course, you can do it in any language you prefer, it only needs to output text to stdout

This post has been edited by romor: May 7 2011, 03:17


--------------------
scripts: http://goo.gl/M1qVLQ
Go to the top of the page
+Quote Post
MDMA
post May 11 2011, 16:56
Post #4





Group: Members
Posts: 75
Joined: 23-May 10
Member No.: 80861



QUOTE (romor @ May 7 2011, 02:16) *
it should be easier that amazon for sure, as you won't need to do crypto acrobatics with something not designed to do so - VBS
plus, data provided by discogs is more relevant for music player then amazon data, but I posted it as possible framework

of course, you can do it in any language you prefer, it only needs to output text to stdout



fair enough, its just the fact that I have no coding knowledge/experience!
Go to the top of the page
+Quote Post
romor
post May 11 2011, 17:07
Post #5





Group: Members
Posts: 682
Joined: 16-January 09
Member No.: 65630



Then you might want to check this and other two I wrote in foo_uie_biography thread to see how they work. VBS should be easy to comprehend for such example
And if you make it for rolldabeats, I'll be your biggest fan happy.gif


--------------------
scripts: http://goo.gl/M1qVLQ
Go to the top of the page
+Quote Post
MDMA
post May 17 2011, 23:58
Post #6





Group: Members
Posts: 75
Joined: 23-May 10
Member No.: 80861



you sure you dont want to make it? laugh.gif
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st December 2014 - 11:22