Skip to content

Documentation


Documentation / @blizzard-api/sc2 / legacyMatchHistory

Function: legacyMatchHistory() ​

legacyMatchHistory(regionId, realmId, profileId): object

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

Returns the match history 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 match history for the given profile. See LegacyMatchHistoryResponse

_responseType? ​

optional _responseType?: LegacyMatchHistoryResponse

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.