Class: MultiComponent

Components.MultiComponent()

Multi-related API component

Constructor

new MultiComponent()

Source:
Example
api.multi
    .getMatch('matchId')
    .then(console.log);

Methods

getMatch(matchId) → {Promise.<(Object|Multi)>}

Gets the info for a multi match
Parameters:
Name Type Description
matchId String The ID of the match
Source:
Returns:
The object from the API, or Multi object if parsing is enabled.
Type
Promise.<(Object|Multi)>