Skip to content

Documentation


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

Function: powerType() ​

powerType(namespace, powerTypeId): object

Defined in: classic-wow/src/power-type/index.ts:11

Get a power type by ID.

Parameters ​

namespace ​

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

The namespace to use. See StaticClassicNamespaces.

powerTypeId ​

number

The power type ID.

Returns ​

The power type. See PowerTypeResponse.

_responseType? ​

optional _responseType?: PowerTypeResponse

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.