@blizzard-api/wow
Version:
A series of helpers to interact with the World of Warcraft Blizzard API
79 lines (78 loc) • 2.46 kB
JavaScript
import { wowBasePath } from "@blizzard-api/core";
//#region src/mythic-keystone-dungeon/index.ts
/**
* Get a Mythic Keystone dungeon by ID.
* @param mythicKeystoneDungeonId The Mythic Keystone dungeon ID.
* @returns The Mythic Keystone dungeon. See {@link MythicKeystoneDungeonResponse}.
*/
function mythicKeystoneDungeon(mythicKeystoneDungeonId) {
return {
namespace: "dynamic",
path: `${wowBasePath}/mythic-keystone/dungeon/${mythicKeystoneDungeonId}`
};
}
/**
* Get a Mythic Keystone dungeon index.
* @returns The Mythic Keystone dungeon index. See {@link MythicKeystoneDungeonIndexResponse}.
*/
function mythicKeystoneDungeonIndex() {
return {
namespace: "dynamic",
path: `${wowBasePath}/mythic-keystone/dungeon/index`
};
}
/**
* Get a Mythic Keystone index.
* @returns The Mythic Keystone index. See {@link MythicKeystoneIndexResponse}.
*/
function mythicKeystoneIndex() {
return {
namespace: "dynamic",
path: `${wowBasePath}/mythic-keystone/index`
};
}
/**
* Get a Mythic Keystone period by ID.
* @param mythicKeystonePeriodId The Mythic Keystone period ID.
* @returns The Mythic Keystone period. See {@link MythicKeystonePeriodResponse}.
*/
function mythicKeystonePeriod(mythicKeystonePeriodId) {
return {
namespace: "dynamic",
path: `${wowBasePath}/mythic-keystone/period/${mythicKeystonePeriodId}`
};
}
/**
* Get a Mythic Keystone period index.
* @returns The Mythic Keystone period index. See {@link MythicKeystonePeriodIndexResponse}.
*/
function mythicKeystonePeriodIndex() {
return {
namespace: "dynamic",
path: `${wowBasePath}/mythic-keystone/period/index`
};
}
/**
* Get a Mythic Keystone season by ID.
* @param mythicKeystoneSeasonId The Mythic Keystone season ID.
* @returns The Mythic Keystone season. See {@link MythicKeystoneSeasonResponse}.
*/
function mythicKeystoneSeason(mythicKeystoneSeasonId) {
return {
namespace: "dynamic",
path: `${wowBasePath}/mythic-keystone/season/${mythicKeystoneSeasonId}`
};
}
/**
* Get a Mythic Keystone season index.
* @returns The Mythic Keystone season index. See {@link MythicKeystoneSeasonIndexResponse}.
*/
function mythicKeystoneSeasonIndex() {
return {
namespace: "dynamic",
path: `${wowBasePath}/mythic-keystone/season/index`
};
}
//#endregion
export { mythicKeystoneDungeon, mythicKeystoneDungeonIndex, mythicKeystoneIndex, mythicKeystonePeriod, mythicKeystonePeriodIndex, mythicKeystoneSeason, mythicKeystoneSeasonIndex };
//# sourceMappingURL=index.js.map