Skip to content

Documentation


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

Function: profession() ​

profession(professionId): object

Defined in: wow-forever/src/profession/index.ts:17

Get a profession by ID.

Parameters ​

professionId ​

number

The profession ID.

Returns ​

The profession. See ProfessionResponse.

_responseType? ​

optional _responseType?: ProfessionResponse

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.