wynn-api-node
TypeScript icon, indicating that this package has built-in type declarations

3.2.1 • Public • Published

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

Package Sidebar

Install

npm i wynn-api-node

Weekly Downloads

1

Version

3.2.1

License

Apache-2.0

Unpacked Size

26.4 kB

Total Files

5

Last publish

Collaborators

  • pixelrift