Hiscores

Usage

import { hiscores } from "runescape-api"

Functions

getPlayer(:playerName, :gamemode?)

Retrieve a player

Parameter

Type

Default

playerName

string

gamemode

normal | ironman | hardcore

normal

hiscores.getPlayer("Paqt").then(data => {
    console.log(data)
})

Last updated