Module: match

Wrapper for Riot's match api. Updated for v3

Source:
See:

Methods


<static> getMatchById(matchId, region)

gets a match record for the specified match ID

Parameters:
Name Type Argument Description
matchId number

matchId to get match record for

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

if no region is specified the configured region will be used

Source:
See:

<inner> getMatchesByAccountId(accountId, options, region)

gets a list of matches for the provided account ID. See Riot API Documentation for options.

Parameters:
Name Type Argument Description
accountId number

the account ID to get the match list for

options object <nullable>

options to pass to the riot server

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

if no region is specified the configured region will be used

Source:

<inner> getRecentMatchesByAccountId(accountId, region)

gets the recent list of matches for the specified account id

Parameters:
Name Type Argument Description
accountId number

the account ID to get the match list for

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

if no region is specified the configured region will be used

Source:

<inner> getTimelines(matchId, region)

Gets the timelines (Partcipant and Match) for the specified match ID

Parameters:
Name Type Argument Description
matchId number

the match ID to get data for

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

if no region is specified the configured region will be used

Source: