1.0.0 • Published 4 years ago
rio-wrapper v1.0.0
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.
1.0.0
4 years ago