Skip to content

Documentation


Documentation / @blizzard-api/d3 / era

Function: era() ​

era(id): object

Defined in: d3/src/game-data/index.ts:17

Returns the era information for the specified era ID.

Parameters ​

id ​

number

The ID of the era.

Returns ​

The era resource. See EraResponse.

_responseType? ​

optional _responseType?: EraResponse

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.