Skip to content

Documentation


Documentation / @blizzard-api/classic-wow / achievementCategory

Function: achievementCategory() ​

achievementCategory(namespace, achievementCategoryId): object

Defined in: classic-wow/src/achievements/index.ts:46

Get an achievement category by ID.

Supported by all Classic namespaces: classic1x, classicann, and classic.

Parameters ​

namespace ​

"static-classic1x" | "static-classic" | "static-classicann"

The namespace to use. See StaticClassicNamespaces.

achievementCategoryId ​

number

The achievement category ID.

Returns ​

The achievement category. See AchievementCategoryResponse.

_responseType? ​

optional _responseType?: AchievementCategoryResponse

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.