Documentation / @blizzard-api/classic-wow / playableRace
Function: playableRace()
playableRace(
namespace,playableRaceId):object
Defined in: classic-wow/src/playable-race/index.ts:11
Get a playable race by ID.
Parameters
namespace
"static-classic1x" | "static-classic" | "static-classicann"
The namespace to use. See StaticClassicNamespaces.
playableRaceId
number
The playable race ID.
Returns
The playable race. See PlayableRaceResponse.
_responseType?
optional_responseType?:PlayableRaceResponse
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.