UNPKG

osrs-wrapper

Version:

A simple wrapper around the Old School Runescape API

12 lines (11 loc) 421 B
import { HiscoreTypes } from './hiscore-types.enum'; import { Player } from './player.model'; /** * Fetches player hiscores for specified game type. Includes Skills, Minigames, and Boss kill counts. * * @export * @param {string} username * @param {HiscoreTypes} [type=HiscoreTypes.normal] * @returns {Promise<Player>} */ export declare function getHiscores(username: string, type?: HiscoreTypes): Promise<Player>;