Skip to content

Documentation


Documentation / @blizzard-api/sc2 / profile

Function: profile() ​

profile(regionId, realmId, profileId): object

Defined in: sc2/src/profile/index.ts:68

Returns the profile information 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. See MetadataResponse

_responseType? ​

optional _responseType?: ProfileResponse

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.