1.0.0 • Published 4 years ago

rio-wrapper v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

JS Wrapper for Raider.io

npm install rio-wrapper

Usage:

const RaiderIO = require('rio-wrapper')

const client = new RaiderIO()

// using promises
client.getWeeklyAffixes().then(console.log)

// async/await
async function Something() {
  let affixes = null

  try {
    affixes = await client.getWeeklyAffixes()
  } catch (e) {
    // something
  }
}

More endpoint coverage in the future.