An awesome module that allows you to manipulate images very easily, based on Memer API
Explore the docs »
Report Bug
Table of Contents
About The Project
There are many great image API's available on internet, however, I didn't find one that really suit my needs so I created this enhanced one. I want to create the API so amazing that it'll be the last one you ever need for image manipulation
Here's why:
- Easy to use
- Fast & Easy Support
- Well Documented
- Frequently updated
Installation
- Get a free API Key at our
- Install the package
npm install memer-api@latest
- Enter your API
const Meme = require("memer-api");const memer = new Meme('Your Cool API Key'); // From Memer API Server :)memer.<Method>(<Options>); //returns -> Promise -> <Buffer>
Usage
const Meme = require("memer-api")const Discord = require("discord.js")const memer = new Meme('Your Cool API Token'); // From Memer API Server :) // Only static images are supported :)const avatar = "https://imgur.com/I5DmdNR.png";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)})
For more examples, please refer to the Documentation
Ratelimits
Memer API limits each Request for 5 seconds i.e you can request 1 image every 5 seconds. If you want to remove the limit you can get premium
License
Distributed under the CC-BY-NC-ND 4.0 License. See LICENSE
for more information.
Credits
- Base Images
- Wrapper base
- Project Link: Github
Table of Contents