UNPKG

@blizzard-api/wow

Version:

A series of helpers to interact with the World of Warcraft Blizzard API

30 lines (29 loc) 1.15 kB
import { wowBasePath } from "@blizzard-api/core"; //#region src/mythic-keystone-leaderboard/index.ts /** * Get a Mythic Keystone leaderboard by connected realm ID, dungeon ID, and period. * @param connectedRealmId The connected realm ID. * @param dungeonId The dungeon ID. * @param period The period ID. * @returns The Mythic Keystone leaderboard. See {@link MythicKeystoneLeaderboardResponse}. */ function mythicKeystoneLeaderboard(connectedRealmId, dungeonId, period) { return { namespace: "dynamic", path: `${wowBasePath}/connected-realm/${connectedRealmId}/mythic-leaderboard/${dungeonId}/period/${period}` }; } /** * Get a Mythic Keystone leaderboard index by connected realm ID. * @param connectedRealmId The connected realm ID. * @returns The Mythic Keystone leaderboard index. See {@link MythicKeystoneLeaderboardIndexResponse}. */ function mythicKeystoneLeaderboardIndex(connectedRealmId) { return { namespace: "dynamic", path: `${wowBasePath}/connected-realm/${connectedRealmId}/mythic-leaderboard/index` }; } //#endregion export { mythicKeystoneLeaderboard, mythicKeystoneLeaderboardIndex }; //# sourceMappingURL=index.js.map