UNPKG

404studios-api

Version:

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

53 lines (37 loc) 1.15 kB
### About This is a JavaScript wrapper for [404 Studios Api](https://404studios.lavenderdev.repl.co/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 ```js 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 ```js 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.