You can see an example at
https://github.com/zotero/zotero/blob/master/chrome/content/zotero/lookup.js#L113(though
that's not inside a translator)
On Apr 7, 2014 10:55 AM, "zuphilip" <notifications@github.com> wrote:

> In Amazon.com.js:
>
> > @@ -219,6 +228,15 @@ function scrape(doc) {
> >  	var pages = getField(info, 'Hardcover') || getField(info, 'Paperback') || getField(info, 'Print Length');
> >  	if(pages) item.numPages = parseInt(pages, 10);
> >  	item.language = getField(info, 'Language');
> > +	if(item.publisher && item.ISBN) {
> > +		Z.debug(item.ISBN);
> > +		var cleanedISBN = item.ISBN.match(/\d{10,13}/);
> > +		ZU.doGet('http://xisbn.worldcat.org/webservices/xid/isbn/'+item.ISBN+'?method=hyphen&format=xml', function(answer){
>
> How would I call the Zotero search for an ISBN? Maybe, we can make a
> (con)test and using both WorldCat webservice vs. Zotero ISBN search and
> compare the results. I am open here (if it works similiarly simple and
> well:)
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/zotero/translators/pull/708/files#r11350590>
> .
>