Last updated 4 years ago
import { miscellaneous } from "runescape-api"
Retrieve a player's avatar URL
miscellaneous.getAvatar("Conundrum129").then(data => { console.log(data) })
https://secure.runescape.com/m=avatar-rs/avatar.png?id=18857418
Retrieve the total registered RuneScape accounts
miscellaneous.getTotalUsers().then(data => { console.log(data) })
278497947
Parameter
Type
playerName
string