Miscellaneous

Usage

import { miscellaneous } from "runescape-api"

Functions

getAvatar(:playerName)

Retrieve a player's avatar URL

Parameter

Type

playerName

string

miscellaneous.getAvatar("Conundrum129").then(data => {
    console.log(data)
})

getTotalUsers()

Retrieve the total registered RuneScape accounts

miscellaneous.getTotalUsers().then(data => {
    console.log(data)
})

Last updated