@blizzard-api/wow
Version:
A series of helpers to interact with the World of Warcraft Blizzard API
30 lines (29 loc) • 1.31 kB
JavaScript
//#region src/character-mythic-keystone-profile/index.ts
/**
* @param realmSlug The slug of the realm.
* @param characterName The lowercase name of the character.
* @returns Returns the Mythic Keystone season details for a character. Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.
*/
function characterMythicKeystoneProfileIndex(realmSlug, characterName) {
return {
namespace: "profile",
path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile`
};
}
/**
* Returns the Mythic Keystone season details for a character.
* Returns a 404 Not Found for characters that have not yet completed a Mythic Keystone dungeon for the specified season.
* @param realmSlug The slug of the realm.
* @param characterName The lowercase name of the character.
* @param seasonId The ID of the season.
* @returns the Mythic Keystone season details for a character.
*/
function characterMythicKeystoneSeasonDetails(realmSlug, characterName, seasonId) {
return {
namespace: "profile",
path: `/profile/wow/character/${realmSlug}/${characterName}/mythic-keystone-profile/season/${seasonId}`
};
}
//#endregion
export { characterMythicKeystoneProfileIndex, characterMythicKeystoneSeasonDetails };
//# sourceMappingURL=index.js.map