Skip to content

Documentation


Documentation / @blizzard-api/wow / spell

Function: spell() ​

spell(spellId): object

Defined in: wow/src/spell/index.ts:10

Get a spell by ID.

Parameters ​

spellId ​

number

The spell ID.

Returns ​

The spell. See SpellResponse.

_responseType? ​

optional _responseType?: SpellResponse

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.