Skip to content

Documentation


Documentation / @blizzard-api/wow-forever / achievement

Function: achievement() ​

achievement(achievementId): object

Defined in: wow-forever/src/achievements/index.ts:19

Get an achievement by ID.

Parameters ​

achievementId ​

number

The achievement ID.

Returns ​

The achievement. See AchievementResponse.

_responseType? ​

optional _responseType?: AchievementResponse

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.