404studios-api

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

Usage no npm install needed!

<script type="module">
  import 04studiosApi from 'https://cdn.skypack.dev/404studios-api';
</script>

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.