kitty-api

1.2.0 • Public • Published

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)
})()

Package Sidebar

Install

npm i kitty-api

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

3.17 kB

Total Files

8

Last publish

Collaborators

  • darkerinker