UNPKG

@blizzard-api/classic-wow

Version:

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

19 lines (18 loc) 735 B
import { wowCharacterBasePath } from "@blizzard-api/core"; //#region src/character-hunter-pets/index.ts /** * If the character is a hunter, returns a summary of the character's hunter pets. Otherwise, returns an HTTP 404 Not Found error. * @param namespace The namespace to use. See {@link BlizzardNamespaces}. * @param realmSlug The slug of the realm. * @param characterName The lowercase name of the character. * @returns a summary of the character's hunter pets. */ function characterHunterPetsSummary(namespace, realmSlug, characterName) { return { namespace, path: `${wowCharacterBasePath}/${realmSlug}/${characterName}/hunter-pets` }; } //#endregion export { characterHunterPetsSummary }; //# sourceMappingURL=index.js.map