Skip to content

Documentation


Documentation / @blizzard-api/sc2 / legacyRewards

Function: legacyRewards() ​

legacyRewards(regionId): object

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

Returns the rewards for the specified region.

Parameters ​

regionId ​

StarcraftRegion

The region ID for Starcraft.

Returns ​

A resource representing the rewards for the given region. See LegacyRewardsResponse

_responseType? ​

optional _responseType?: LegacyRewardsResponse

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.