⚔️
RuneScape API
  • Introduction
  • Documentation
    • Bestiary
    • Clan
    • Grand Exchange
    • Hiscores
    • Miscellaneous
    • RuneMetrics
    • Oldschool
      • OSRS Grand Exchange
      • OSRS Hiscores
Powered by GitBook
On this page
  • Usage
  • Functions
  • getAvatar(:playerName)
  • getTotalUsers()

Was this helpful?

  1. Documentation

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)
})
https://secure.runescape.com/m=avatar-rs/avatar.png?id=18857418

getTotalUsers()

Retrieve the total registered RuneScape accounts

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

Last updated 5 years ago

Was this helpful?