RuneMetrics

Usage

import { runemetrics } from "runescape-api"

Functions

getMonthlyXp(:playerName, :skillId)

Retrieve a user's monthly experience gained in a given skill

Parameter

Type

playerName

string

skillId

number | Skill

runemetrics.getMonthlyXp("Conundrum129", 19).then(data => {
    console.log(data)
})

getProfile(:playerName)

Retrieve a user's RuneMetrics profile name

Parameter

Type

playerName

string

runemetrics.getProfile("Paqt").then(data => {
    console.log(data)
})

getQuests(:playerName)

Retrieve a user's quest list with completion status'

Parameter

Type

playerName

string

runemetrics.getQuests("Paqt").then(data => {
    console.log(data)
})

Last updated