Miscellaneous

Usage

import { miscellaneous } from "runescape-api"

Functions

getAvatar(:playerName)

Retrieve a player's avatar URL

Parameter

Type

playerName

string

JavaScript
Response
JavaScript
miscellaneous.getAvatar("Conundrum129").then(data => {
console.log(data)
})
Response
https://secure.runescape.com/m=avatar-rs/avatar.png?id=18857418

getTotalUsers()

Retrieve the total registered RuneScape accounts

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