Documentation / @blizzard-api/classic-wow / achievement
Function: achievement()
achievement(
namespace,achievementId):object
Defined in: classic-wow/src/achievements/index.ts:19
Get an achievement 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.
achievementId
number
The achievement ID.
Returns
The achievement. See AchievementResponse.
_responseType?
optional_responseType?:AchievementResponse
Internal
The response type of the resource
namespace?
optionalnamespace?:BlizzardNamespaces
parameters?
optionalparameters?:Record<string,unknown>
path
path:
string
The request path. Dynamic path segments should be encoded with encodeURIComponent.