kitty-api
v1.2.0
Published
Great way on Getting cat pictures
Downloads
10
Maintainers
Readme
kitty-api
Kitty API Is used to get Pictures of cats easily. You can Use it to get kittens, old cats and, normal cats.
Examples
Here Is a Simple example Using this package
(async () => {
const { getCat } = require('kitty-api');
const cat = await getCat();
console.log(cat)
})()
For this example I'm using discord.js but you can use this for anything
(async () => {
const { getCat } = require('kitty-api');
const { MessageAttachment } = require('discord.js');
const cat = await getCat();
const picture = new MessageAttachment(cat, "cat.png");
message.channel.send(picture)
})()