Skip to content

Documentation


Documentation / @blizzard-api/d3 / eraLeaderboard

Function: eraLeaderboard() ​

eraLeaderboard(id, leaderboard): object

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

Returns the era leaderboard for the specified era ID and leaderboard.

Parameters ​

id ​

number

The ID of the era.

leaderboard ​

string

The name of the leaderboard.

Returns ​

The era leaderboard resource. See EraLeaderboardResponse.

_responseType? ​

optional _responseType?: EraLeaderboardResponse

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.