Official wrapper for gud-api.
Note: All functions are async functions.
(async () => {
const gud = require('gud-wrapper')
const dadjoke = await gud.dadjoke()
console.log(dadjoke) // Logs the joke to console
})()
// For mom jokes
(async () => {
const gud = require('gud-wrapper')
const momjoke = await gud.joke("mom")
console.log(momjoke)
})()
// For dad jokes
(async () => {
const gud = require('gud-wrapper')
const dadjoke = await gud.joke("dad")
console.log(dadjoke)
})()
// For yomama jokes
(async () => {
const gud = require('gud-wrapper')
const yomama = await gud.joke("yomama")
console.log(yomama)
})()
// Example for yuri function
(async () => {
const gud = require('gud-wrapper')
const nsfw = await gud.nsfwYuri("<your api key>")
console.log(nsfw)
})()
(async () => {
const gud = require('gud-wrapper')
const food = gud.foodporn("true / false") // True = only image URL.
console.log(food)
})()
For Support: Discord Server
NSFW Endpoints now don't require any key.
API Developer:
NotFaizen#3463
Wrapper made by:Server Developer#9447