Skip to content

Documentation


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

Function: realm() ​

realm(namespace, realmSlug): object

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

Get a realm by slug.

Parameters ​

namespace ​

"dynamic-classic1x" | "dynamic-classic" | "dynamic-classicann"

The namespace to use. See DynamicClassicNamespaces.

realmSlug ​

string

The realm slug.

Returns ​

The realm. See RealmResponse.

_responseType? ​

optional _responseType?: RealmResponse

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.