An awesome module that allows you to manipulate images very easily, based on Memer API
Explore the docs »
Wrapper Docs
·
API Docs
·
Report Bug
·
Discord
Table of Contents
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
- Get a free API Key at our Discord Server.
- 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>
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)
})
For more examples, please refer to the Documentation
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 Here
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GNU General Public License v2.0 License. See LICENSE
for more information.
Yash - [email protected]
Project Link: https://github.com/Yash094/Memer-API