wolvesville.js is a Node.js module to interact with the Wolvesville API.
Latest version of Node.js required
npm install wolvesville.js@devLog the username and level of the player with username Arnaud:
const Wolvesville = require('wolvesville.js');
const client = new Wolvesville.Client('yourWolvesvileBotApiKey');
async function main() {
const player = await client.players.fetch('Arnaud');
console.log(player.username, player.level);
}
main();