fetchHighscoresPage

open suspend fun fetchHighscoresPage(world: String?, category: HighscoresCategory, vocation: HighscoresProfession = HighscoresProfession.ALL, page: Int = 1, battlEyeType: HighscoresBattlEyeType = HighscoresBattlEyeType.ANY_WORLD, pvpTypes: Set<PvpType>? = null): TibiaResponse<Highscores?>(source)

Fetch a page of the highscores.

Parameters

world

The world to get highscores from. If null, the highscores of all worlds are returned.

category

The category to fetch.

vocation

The vocation to filter by. By default, all vocations will be returned

page

The page number to fetch

battlEyeType

The BattlEye type of the worlds to fetch. Only applies when world is null.

pvpTypes

The PvP type of the worlds to fetch. Only applies when world is null.