Module: championmastery

Wrapper for Riot's champion mastery v3 api

Source:
See:

Methods


<inner> getChampionMasteryBySummonerId(summonerId, region)

gets list of champions with their mastery level by summoner ID

Parameters:
Name Type Argument Description
summonerId number

summoner ID to retrieve mastery list for

region module:serverdata.REGION <optional>
<nullable>

if no region is specified the configured region will be used

Source:
See:

<inner> getMasteryChampionsById(summonerId, championId, region)

gets a specific champion's mastery for a specified summoner

Parameters:
Name Type Argument Description
summonerId number

ID of the summoner to retrieve the mastery for

championId number

ID of the champion to retrieve the mastery for

region module:serverdata.REGION <optional>
<nullable>

if no region is specified the configured region will be used

Source:
See:

<inner> getMasteryScoreForSummoner(summonerId, region)

gets total mastery score for summoner

Parameters:
Name Type Argument Description
summonerId number

summoner ID to retrieve mastery score for

region module:serverdata.REGION <optional>
<nullable>

if no region is specified the configured region will be used

Source:
See: