random-stuff-api
Advanced tools
Comparing version 8.5.0-beta.0 to 8.5.0
{ | ||
"name": "random-stuff-api", | ||
"version": "8.5.0-beta.0", | ||
"version": "8.5.0", | ||
"description": "Random Jokes , memes , aww moments , devjokes , cat/dog/duck/horse etc images and videos , hp memes and many more ", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -31,3 +31,3 @@ # Random-stuff-api | ||
## Recent Changes | ||
### Version 8.x | ||
### Version 8.5.x | ||
Added Classes! | ||
@@ -38,2 +38,4 @@ * Now the api has been made arranged into classes | ||
* image // Used for functions which has image as an output (for eg - dog , cat) | ||
* Added Image manipulation (it may not work) | ||
* For eg - api.canva.blur("image url") | ||
* For eg - Now to get a joke you will do api.random.joke() | ||
@@ -57,3 +59,11 @@ **Scroll down for all functions explained** | ||
const api = require('random-stuff-api') | ||
const image = "string" | ||
api.random.insult() | ||
.then(insult => { | ||
console.log(insult) | ||
}) | ||
//Output => What's the difference between you and eggs? Eggs get laid and you don't. | ||
// ANOTHER ONE | ||
const image = "img url" | ||
api.canva.blur(image).then(buffer => { | ||
@@ -66,2 +76,6 @@ // Do anything with buffer | ||
## Functions | ||
### Class canva | ||
* `api.canva.blur() // blurs the image` | ||
* `api.canva.delete() // the delete memey thingy` | ||
* `api.canva.triggered() // the triggered gif` | ||
### Class random | ||
@@ -68,0 +82,0 @@ * `api.random.joke() // Returns a dad joke` |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
11015
2
98