The Dank Memer api wrapper for the Dank Memer API.
Install
npm i --save dankmemer-wrapper
Usage
const DankMemer = ;const memer = "Your API Token Goes Here";
Example
const DankMemer = ;const memer = "Put your dank memer api key";const Discord = ;const client = ; client; client client;
Get API Key
Go to Here and request for a API key.
Functions
- abandon
- aborted
- affect
- airpods
- america
- armor
- balloon
- bed
- bongocat
- boo
100's More
Ratelimits
Each endpoint has it's own ratelimit, which you can find in it's documentation. Additionally, the API has a global ratelimit of 300 requests per minute.
The ratelimits for the endpoint are defined with X-RateLimit-:key, while the global ratelimit is defined with X-Global-RateLimit-:key. When the global ratelimit is hit, the body will contain an additional JSON key "global" which will be set to true.