3.2.1 • Published 1 year ago

wynn-api-node v3.2.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

About

A simple API wrapper for the Wynncraft API

  • Promise based
  • Object-oriented
  • 100% coverage of the V3 Wynncraft API

Installation

Node.js 6.0.0 or newer is required.

npm install wynn-api-node
yarn add wynn-api-node
pnpm add wynn-api-node
bun add wynn-api-node

Example Usage

const WynnAPI = require('wynn-api-node');

let salted = await WynnAPI.getPlayer("Salted")
WynnAPI.getPlayer("Salted")
.then(player => console.log(player.globalData.chestsFound))
let pfinderSet = await WynnAPI.searchItem('Morph')
console.log(pfinderSet)

Links

3.2.1

1 year ago

3.2.0

1 year ago