Skip to content

Latest commit

 

History

History
56 lines (48 loc) · 852 Bytes

clan.md

File metadata and controls

56 lines (48 loc) · 852 Bytes

Clan

Usage

import { clan } from "runescape-api"

Functions

getMembers(:clanName)

List all clan members

{% tabs %} {% tab title="JavaScript" %}

clan.getMembers("Royal 58").then(data => {
    console.log(data)
})

{% endtab %}

{% tab title="Response" %}

[
  ClanMember {
    name: 'Conundrum129',
    rank: 'Owner',
    experience: 695552733,
    kills: 0
  },
  ClanMember {
    name: 'I50RitaWendt',
    rank: 'Deputy Owner',
    experience: 414968518,
    kills: 3204
  },
  ClanMember {
    name: 'Good Potato',
    rank: 'Overseer',
    experience: 32816425,
    kills: 0
  },
  ClanMember {
    name: 'Emagnifesin',
    rank: 'Coordinator',
    experience: 15144845,
    kills: 0
  },
  // ... 100+ more items
]

{% endtab %} {% endtabs %}