UNPKG

@blizzard-api/wow

Version:

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

27 lines (26 loc) 858 B
//#region src/character-quests/index.ts /** * @param realmSlug The slug of the realm. * @param characterName The lowercase name of the character. * @returns a list of quests that a character has completed. */ function characterCompletedQuests(realmSlug, characterName) { return { namespace: "profile", path: `/profile/wow/character/${realmSlug}/${characterName}/quests/completed` }; } /** * @param realmSlug The slug of the realm. * @param characterName The lowercase name of the character. * @returns a character's active quests as well as a link to the character's completed quests. */ function characterQuests(realmSlug, characterName) { return { namespace: "profile", path: `/profile/wow/character/${realmSlug}/${characterName}/quests` }; } //#endregion export { characterCompletedQuests, characterQuests }; //# sourceMappingURL=index.js.map