Hey, welcome to the Shield Bot List API. Lets get straight to the point!
For support, you may create a private ticket or go in the help channel in our discord.
Discord: https://discord.gg/rmZkZPR5CX
const APIs = require('shieldbotlistapi');
// client should be defined as your discord client.
const serverCountAPI = new APIs.serverCountAPI('authtoken', client);
serverCountAPI.init().then(response => console.log(response));
// If you want to get a json response, you can do JSON.parse() method
const likeAPI = new APIs.likeApi('authtoken', client);
likeAPI.init().then(textRep => {
const response = JSON.parse(textRep);
console.log(response.users.length);
});
// parse it so you can access JSON props.