OSRS Hiscores

Usage

import { hiscores } from "runescape-api/osrs"

Functions

getPlayer(:playerName, :gamemode?)

Retrieve a player

Parameter

Type

Default

playerName

string

gamemode

"normal" | "ironman" | "hardcore" |

"ultimate" | "deadman" | "seasonal"

"normal"

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

Last updated