Hiscores

Usage

from rs3_api import Hiscores
hiscore = Hiscores()

Functions

get_ranking(index: int, category: str, size: int)

Gets hiscore ranks in a particular skill or activity

Parameters

Type

default

index

int

category

skill | activity

skill

size

int

25

response = hiscore.get_ranking(0, "skill", 10)
print(response)

get_index_lite(game_mode: str, username: str)

Gets a players hiscore profile

Parameters

Type

game_mode

normal | ironman | hardcore

username

str

response = hiscore.get_index_lite("normal", "Phyrexz")
print(response)

get_current_seasonal_ranking(username: str)

Gets a players current seasonal stats

Parameters

Type

username

str

response = hiscore.get_current_seasonal_ranking("Maikeru") 

get_past_seasonal_ranking(username: str)

Gets a players archived seasonal stats

Parameter

Type

username

str

response = hiscore.get_past_seasonal_ranking("Maikeru") 

get_season_details()

Get details about the current ongoing season

response = hiscore.get_season_details()
print(response)

get_past_season_details()

Get details about archived seasons

response = hiscore.get_past_season_details()
print(response)

get_clan_ranking()

Get details about the top 3 clans

response = hiscore.get_clan_ranking()
print(response)

Last updated

Was this helpful?