Skip to content

Documentation


Documentation / @blizzard-api/sc2 / legacyLadders

Function: legacyLadders() ​

legacyLadders(regionId, realmId, profileId): object

Defined in: sc2/src/legacy/index.ts:42

Returns the ladders for the specified profile.

Parameters ​

regionId ​

StarcraftRegion

The region ID for Starcraft.

realmId ​

1 | 2

1 or 2

profileId ​

number

The ID of the profile.

Returns ​

A resource representing the ladders for the given profile. See LegacyLaddersResponse

_responseType? ​

optional _responseType?: LegacyLaddersResponse

Internal

The response type of the resource

namespace? ​

optional namespace?: BlizzardNamespaces

parameters? ​

optional parameters?: Record<string, unknown>

path ​

path: string

The request path. Dynamic path segments should be encoded with encodeURIComponent.