(require("bibSearch"))(terms, page, per, limitopt, cclopt) → {promise}
A more robust search method
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
terms |
string | array | either a literal string or an array of the form [[bool, filter, value],['AND', 'AU', 'Tolkien'], ...] | |
page |
int | string | the search result page to return | |
per |
int | string | number of results per page | |
limit |
string | array |
<optional> |
|
ccl |
string | array |
<optional> |
- Source:
Returns:
- Type
- promise
Examples
myPapi.bibSearch('KW=dogs')
.then(function(response) {
console.log(response.data);
});
myPapi.bibSearch([['AND','AU','Tolkien'],['NOT','TI','Hobbits']])
.then(function(response) {
console.log(response.data);
});