Skip to content

Documentation


Documentation / @blizzard-api/sc2 / legacyProfile

Function: legacyProfile() ​

legacyProfile(regionId, realmId, profileId): object

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

Returns the profile 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 profile for the given ID. See LegacyProfileResponse

_responseType? ​

optional _responseType?: LegacyProfileResponse

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.