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

Package detail

random-gif-api

dominic-ktz71MIT1.2.0

A simple tool, to get Random anime gifs.

random gifs, anime gifs, picture, random pictures, anime

readme

Random GIF API

With this api you can get random anime pictures. For a list with available endpoints look at this list: https://gifs.rndmserv.de/api/

How to use?

const rga = require("dist/index")

//In this example we use the anime bite endpoint
rga.getGif('bite').then((data) => {
    console.log(data) // This return as example: https://gifs.rndmserv.de/api/interactions/bite/6.gif
})

//OR with async/await function

const data = async () => {
    const data = await rga.getGif('bite');
    console.log(data); // This return as example: https://gifs.rndmserv.de/api/interactions/bite/3.gif
}

For support or suggestions join our Discord Server :) https://discord.gg/43Cap3paDN