The official API wrapper for the botlist Radarcord.
npm install radarcord.js
// Import
const { rjs } = require('radarcord.js');
// Declare
const radar = new rjs(<client>, "TOKEN");
// Post Guild Stats
console.log(await radar.post(client.guilds.cache.size));
// Success
// Get Bot Information
const info = await radar.getBot("ID");
/*
{
longdescription: "",
shortdescription: "",
prefix: "",
category: [],
ownerid: "",
id: "",
name: "",
votes: 0,
website: "",
guilds: 0,
verified: true/false
}
*/
// Get User Information
const user = await radar.getUser("ID");
/*
{
username: "abcdefgh",
id: 0000000,
bots: []
}
*/
// Get Bot Reviews
const reviews = await radar.getReviews("BOTID");
/*
{
reviews: []
}
*/
Can be found here