osrs-hiscores-wrapper

1.0.0 • Public • Published

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
  • getCombatLevel(rounded)
    • Parameters:
      • rounded (optional): bool
    • Return value: int|string

Readme

Keywords

none

Package Sidebar

Install

npm i osrs-hiscores-wrapper

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

128 kB

Total Files

14

Last publish

Collaborators

  • andrewpaulthompson