Documentation / @blizzard-api/sc2 / getLeagueData
Function: getLeagueData()
getLeagueData(
seasonId,queueId,teamType,leagueId):object
Defined in: sc2/src/league/index.ts:43
Returns the league data for the specified season, queue, team type, and league.
Parameters
seasonId
string
The season ID
queueId
The queue ID
teamType
The team type
leagueId
The league ID
Returns
The league data resource. See LeagueDataResponse.
_responseType?
optional_responseType?:LeagueDataResponse
Internal
The response type of the resource
namespace?
optionalnamespace?:BlizzardNamespaces
parameters?
optionalparameters?:Record<string,unknown>
path
path:
string
The request path. Dynamic path segments should be encoded with encodeURIComponent.