qdb-api-plus
Advanced tools
Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "qdb-api-plus", | ||
"description": "A better API wrapper for Quote Database", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"main": "src/qdb-api.js", | ||
@@ -6,0 +6,0 @@ "author": "Victor Veytsman", |
@@ -53,8 +53,5 @@ /*const axios = require('axios').default;*/ | ||
} | ||
/** | ||
* | ||
* @param {String} query The search word | ||
* @param {Number} sort 0 for score, 1 for number | ||
* @param {Number} count the amount of results to get (under 101) | ||
*/ | ||
function top(count = 1) { | ||
return parseQuotes(count, 'http://bash.org/?top', 100); | ||
} | ||
function search(query, sort, count) { | ||
@@ -138,3 +135,4 @@ let showcount = count; | ||
latest, | ||
top, | ||
search | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7547
170