A Donate Bot API client for Node.JS
npm i donatebot-node-api --save
Click here to read the documentation for this API client.
var DonateBotAPI = require('donatebot-node-api');
var api = new DonateBotAPI({
serverID: "Your Discord Server ID",
apiKey: "Your Donate Bot API Key retrieved from the panel"
});
api.getNewDonations().then(donations => {
console.log(donations);
}).catch(err => {
console.log(err);
});