qdb-api-plus
Advanced tools
Comparing version 1.4.1 to 1.4.2
{ | ||
"name": "qdb-api-plus", | ||
"description": "A better API wrapper for Quote Database", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"main": "src/qdb-api.js", | ||
@@ -6,0 +6,0 @@ "author": "Victor Veytsman", |
@@ -43,3 +43,3 @@ # qdb-api-plus | ||
* `[count = 1]` - The amount of quotes to return (max 50) | ||
* `[over0 = true]` - Whether to return only quotes that have a score greater than zero or not (basically whether to scrape `http://bash.org/?random` or `http://bash.org/?random1 | ||
* `[over0 = true]` - Whether to return only quotes that have a score greater than zero or not (basically whether to scrape `http://bash.org/?random` or `http://bash.org/?random1`) | ||
@@ -74,5 +74,6 @@ Returns a promise which resolves to a quote object if count is one, and an array of them otherwise | ||
```Javascript | ||
`http://bash.org/?${id}` //Get specific ID | ||
'http://bash.org/?latest' //Latest quote/ID | ||
'http://bash.org/?random' //Random quote/ID | ||
`http://bash.org/?${id}` //Get quote from specific ID | ||
'http://bash.org/?latest' //Latest quote(s) | ||
'http://bash.org/?random' //Random quote(s) | ||
'http://bash.org/?top' //Top quote(s) | ||
`http://bash.org/?search=${query}&sort=${sort}&show=${count}` //Search | ||
@@ -79,0 +80,0 @@ ``` |
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
8477
85