memer-api-premium
v5.0.0
Published
An Image Manipulation API With More than 50+ commands
Downloads
16
Maintainers
Readme
Memer API v5
Memer API is a powerful module that allows you to manipulate images very easily :)
Installation
npm install memer-api
const Meme = require("memer-api");
const memer = new Meme('Your Cool API Token'); // From Memer API Server :)
memer.<Method>(<Options>); //returns -> Promise -> <Buffer>
LINKS
- 📃 Guide/Docs: Documentation
- 💬 Discord: Server
Features
- Super simple and easy to use.
- More than 50+ methods
- Easy to Implement.
- Great support and flexible.
Examples
const Meme = require("memer-api")
const Discord = require("discord.js")
cosnt memer = new Meme('Your Cool API Token'); // From Memer API Server :)
const avatar = "https://imgur.com/I5DmdNR.png"; // Only static images are supported :)
const text = "Memer API is awesome!"
memer.youtube(avatar, 'Memer Api', text).then(image => {
// This gives you a 'Buffer', for Discord to create an attachment
var attachment = new Discord.MessageAttachment(image, "youtube.png");
<channel>.send(attachment)
})
Credits
Image Gen: Link!
Wrapper: Based from Snowflake's Api Wrapper
Made by: @Yash094