1.2.0 • Published 9 months ago
random-gif-api v1.2.0
Random GIF 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