@blizzard-api/wow
Version:
A series of helpers to interact with the World of Warcraft Blizzard API
28 lines (27 loc) • 912 B
JavaScript
//#region src/character-pvp/index.ts
/**
* @param realmSlug The slug of the realm.
* @param characterName The lowercase name of the character.
* @param bracketId The ID of the PvP bracket.
* @returns a PvP bracket statistics for a character.
*/
function characterPvpBracketStatistics(realmSlug, characterName, bracketId) {
return {
namespace: "profile",
path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/pvp-bracket/${bracketId}`
};
}
/**
* @param realmSlug The slug of the realm.
* @param characterName The lowercase name of the character.
* @returns a PvP summary for a character.
*/
function characterPvpSummary(realmSlug, characterName) {
return {
namespace: "profile",
path: `/profile/wow/character/${realmSlug}/${characterName.toLowerCase()}/pvp-summary`
};
}
//#endregion
export { characterPvpBracketStatistics, characterPvpSummary };
//# sourceMappingURL=index.js.map