wolvesville.js

2.0.0 • Public • Published

About

wolvesville.js is a Node.js module to interact with the Wolvesville API.

Installation

Latest version of Node.js required

npm install wolvesville.js

Example usage

Log the username and level of the player with username Arnaud:

const Wolvesville = require('wolvesville.js');

const client = new Wolvesville.Client();
client.login('yourWolvesvileBotApiKey');

async function main() {
  const player = client.players.fetchByUsername('Arnaud');
  console.log(player.username, player.level);
}

main();

Package Sidebar

Install

npm i wolvesville.js

Weekly Downloads

4

Version

2.0.0

License

MIT

Unpacked Size

89.3 kB

Total Files

70

Last publish

Collaborators

  • mainleau