osrs-hiscores-wrapper
v1.0.0
Published
``` const Hiscores = require('osrs-hiscores-api')
Downloads
1
Readme
OSRS Hiscores wrapper
Typical usage:
const Hiscores = require('osrs-hiscores-api')
Hiscores.getStats('name', 'gamemode').then(res => {
const attack = res.getLevel('attack')
})
Account object:
Methods:
getLevel(skillname)
- Parameters:
- skillname (required): string
- Return value: int
- Parameters:
getCombatLevel(rounded)
- Parameters:
- rounded (optional): bool
- Return value: int|string
- Parameters: