random-gif-api

1.2.0 • Public • Published

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

Package Sidebar

Install

npm i random-gif-api

Weekly Downloads

20

Version

1.2.0

License

MIT

Unpacked Size

2.48 kB

Total Files

6

Last publish

Collaborators

  • dominic-ktz