1.1.0 • Published 1 year ago
random-gif-api v1.1.0
Random GIF API
How to use?
const rga = require("random-gif-api")
//In this example we use the anime bite endpoint
rga.getGif('bite').then((data) => {
console.log(data) // This return as example: https://apiservice1.kisara.app/satou/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://apiservice1.kisara.app/satou/interactions/bite/3.gif
}
For support or suggestions join my Discord Server :) https://discord.com/invite/43Cap3paDN (New Link)