Module: league v3

Wrapper for Riot's league data api

Source:
See:

Methods


<static> getChallengerLeagues(queueType, region)

gets all challenger league information for the specified region

Parameters:
Name Type Argument Description
queueType string

Ranked Queue type (RANKED_SOLO_5x5, RANKED_FLEX_SR, RANKED_FLEX_TT)

region module:serverdata.REGION <optional>

if no region is specified the configured region will be used

Source:
See:

<static> getLeaguesBySummonerId(summonerId, region)

gets all leagues for which the specified summoner is a member

Parameters:
Name Type Argument Description
summonerId number

id of the summoner to get league information for

region module:serverdata.REGION <optional>

if no region is specified the configured region will be used

Source:
See:

<static> getMasterLeagues(queueType, region)

gets all master league information for the specified region

Parameters:
Name Type Argument Description
queueType string

Ranked Queue type (RANKED_SOLO_5x5, RANKED_FLEX_SR, RANKED_FLEX_TT)

region module:serverdata.REGION <optional>

if no region is specified the configured region will be used

Source:
See:

<static> getPositionsBySummonerId(summonerId, region)

gets all positions in all leagues for which the specified summoner is a member

Parameters:
Name Type Argument Description
summonerId number

id of the summoner to get position information for

region module:serverdata.REGION <optional>

if no region is specified the configured region will be used

Source:
See: