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?
optionalnamespace?:BlizzardNamespaces
parameters?
optionalparameters?:Record<string,unknown>
path
path:
string
The request path. Dynamic path segments should be encoded with encodeURIComponent.