Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

404studios-api

naaaah28ISC1.0.0

A simple to use package that allows you to get jokes, images, and so much more!

api, image, image-generation, jokes, dad-jokes, joke-api, image-api, anime-images

readme

About

This is a JavaScript wrapper for 404 Studios Api

The API itself: 404 Studios API is a powerful API to get jokes, images, and much more! More coming soon.

3+ Endpoins. More being added very soon.
Insanely Fast Responses

Example Usage:

Jokes

const API = require('404studios-api');

async function getJoke(){
    let {joke, answer} = await API.joke();
    console.log(joke, answer);
}

getJoke(); //--> "Where do you learn to make a banana split?", "Sundae school"

GIFs and Images

const API = require('404studios-api');

//Hug GIF
async function hugGIF() {
    let GIF = await API.animeHug();
    console.log(GIF);
}

hugGIF(); //--> https://c.tenor.com/ixaDEFhZJSsAAAAM/anime-choke.gif

//Kiss GIF
async function kissGIF() {
    let GIF = await API.animeKiss();
    console.log(GIF);
}

kissGIF(); //--> https://c.tenor.com/Cchd6VOMDIwAAAAM/forehead-forehead-kiss.gif

More endpoints will be coming in the near future, this API is sitll in beta and will be releasing fully very soon.