Skip to content

Yash094/Memer-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Memer API - An API to manipulate images easily | Product Hunt


An awesome module that allows you to manipulate images very easily, based on Memer API
Explore the docs »

Report Bug

Table of Contents
  1. About The Project
  2. Installation
  3. Usage
  4. Rate Limits
  5. Roadmap
  6. Contributing
  7. License
  8. Contact
  9. Credits

About The Project

Product Name Screen Shot

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

  1. Get a free API Key at our
  2. Install the package
    npm install memer-api@latest
  3. 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 :)

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

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

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the CC-BY-NC-ND 4.0 License. See LICENSE for more information.

Contact

Project Link: https://github.com/Yash094/Memer-API

Credits