Skip to content

top-gg/donatebot-node-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Donate Bot Node API

A Donate Bot API client for Node.JS

Installation

npm i donatebot-node-api --save

Documentation

Click here to read the documentation for this API client.

Usage

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);
});

About

Donate Bot API client for Node.JS

Resources

License

Stars

Watchers

Forks