Module: spectator

Wrapper for Riot's spectator api

Source:
See:

Methods


<inner> getActiveGameBySummonerId(summonerId, region)

gets game summoner is in

Parameters:
Name Type Argument Description
summonerId number

ID of the summoner to get game information for

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

if no region is specified the configured region will be used

Source:
See:

<inner> getFeaturedGames(region)

gets featured games for a region

Parameters:
Name Type Argument Description
region module:serverdata.REGION <optional>
<nullable>

if no region is specified the configured region will be used

Source:
See: