operationId._2Flookup_23amgAlbumId.required_20GET.ajax = function (options, onError) {
/*
* this function will make the api-call "GET /lookup#amgAlbumId.required"
* example usage:
swgg.apiDict["operationId._2Flookup_23amgAlbumId.required_20GET"].ajax({
"amgAlbumId": [
"15175",
"15176",
"15177",
"15178",
"15183",
"15184",
"15187",
"1519",
"15191",
"15195",
"15197",
"15198"
],
"entity": "album",
"callback": "wsSearchCB",
"limit": 0,
"sort": "recent"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, options, onError);
}
n/a
operationId._2Flookup_23amgArtistId.required_20GET.ajax = function (options, onError) {
/*
* this function will make the api-call "GET /lookup#amgArtistId.required"
* example usage:
swgg.apiDict["operationId._2Flookup_23amgArtistId.required_20GET"].ajax({
"amgArtistId": [
"468749",
"5723"
],
"entity": "album",
"callback": "wsSearchCB",
"limit": 0,
"sort": "recent"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, options, onError);
}
n/a
operationId._2Flookup_23amgVideoId.required_20GET.ajax = function (options, onError) {
/*
* this function will make the api-call "GET /lookup#amgVideoId.required"
* example usage:
swgg.apiDict["operationId._2Flookup_23amgVideoId.required_20GET"].ajax({
"amgVideoId": [
"17120"
],
"entity": "album",
"callback": "wsSearchCB",
"limit": 0,
"sort": "recent"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, options, onError);
}
n/a
operationId._2Flookup_23id.required_20GET.ajax = function (options, onError) {
/*
* this function will make the api-call "GET /lookup#id.required"
* example usage:
swgg.apiDict["operationId._2Flookup_23id.required_20GET"].ajax({
"id": [
"909253",
"284910350"
],
"entity": "album",
"callback": "wsSearchCB",
"limit": 0,
"sort": "recent"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, options, onError);
}
n/a
operationId._2Flookup_23isbn.required_20GET.ajax = function (options, onError) {
/*
* this function will make the api-call "GET /lookup#isbn.required"
* example usage:
swgg.apiDict["operationId._2Flookup_23isbn.required_20GET"].ajax({
"isbn": [
"9780316069359"
],
"entity": "album",
"callback": "wsSearchCB",
"limit": 0,
"sort": "recent"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, options, onError);
}
n/a
operationId._2Flookup_23upc.required_20GET.ajax = function (options, onError) {
/*
* this function will make the api-call "GET /lookup#upc.required"
* example usage:
swgg.apiDict["operationId._2Flookup_23upc.required_20GET"].ajax({
"upc": [
"720642462928"
],
"entity": "album",
"callback": "wsSearchCB",
"limit": 0,
"sort": "recent"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, options, onError);
}
n/a
operationId._2Fsearch_20GET.ajax = function (options, onError) {
/*
* this function will make the api-call "GET /search"
* example usage:
swgg.apiDict["operationId._2Fsearch_20GET"].ajax({
"term": "jack+johnson",
"country": "US",
"entity": "album",
"attribute": "actorTerm",
"callback": "wsSearchCB",
"limit": 0,
"lang": "en_us",
"version": 2,
"explicit": "Yes"
}, function (error, data) {
if (error) {
console.error(error);
return;
}
console.log(data.responseJson || data.responseText);
});
*/
return local.apiAjax(self, options, onError);
}
n/a