npm.io
1.0.0 • Published 5 years ago

neko-bot-api-fanmade

Licence
ISC
Version
1.0.0
Deps
2
Size
64 kB
Vulns
23
Weekly
0

Neko Bot API

Image Generation

Normal Example:

const api = require("neko-bot-api-fanmade");

let imageUrl = await api.clyde("Hello World!");
Example using ES Syntax:
import api from "neko-bot-api-fanmade";

let imageUrl = await api.clyde("Hello World!");
Example without async await:
api.clyde("Hello World!").then((imageURL) => {
  // do something with the url
});

Image

const api = require("neko-bot-api-fanmade");

let imageURL = api.image("food");
For Getting Image bytes instead of image urls:
let imageUrl = await api.clyde("Hello World!", 1);

Thanks for using Neko Bot API

Official Website - https://nekobot.xyz/