Documentation / @blizzard-api/classic-wow / region
Function: region()
region(
namespace,regionId):object
Defined in: classic-wow/src/region/index.ts:11
Get a region by ID.
Parameters
namespace
"dynamic-classic1x" | "dynamic-classic" | "dynamic-classicann"
The namespace to use. See DynamicClassicNamespaces.
regionId
number
The region ID.
Returns
The region. See RegionResponse.
_responseType?
optional_responseType?:RegionResponse
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.