[go: up one dir, main page]

wynncraft.js

1.0.8 • Public • Published

wynncraft.js

Easier API for take WynnCraft informations! :)

getItem:

const WynnCraftJS = require('wynncraft.js');
const WC = new WynnCraftJS();

  let item = "< item name >";

WC.getItem(item).then(result => {
    console.log(result);
}).catch(error => {
    console.error(error);
});

getPlayerStats:

const WynnCraftJS = require('wynncraft.js');
const WC = new WynnCraftJS();

  let nickname = "< MC nickname >";

WC.getPlayerStats(nickname).then(result => {
    console.log(result);
}).catch(error => {
    console.error(error);
});

Installation

npm i wynncraft.js --save

If you need support visit https://discord.io/GamersHub and ask in the room #wynncraft-js! ;)

Package Sidebar

Install

npm i wynncraft.js

Weekly Downloads

0

Version

1.0.8

License

ISC

Unpacked Size

2.67 kB

Total Files

3

Last publish

Collaborators

  • frawolf