Lore archive · Warcraft Wiki, 2023 dump
API C PetJournal.GetPetInfoByItemID
Last wiki revision 2022-08-01
Retrieves information about the battle pet species taught by the specified item.
name, icon, petType, creatureID, sourceText, description, isWild, canBattle, tradeable, unique, obtainable, displayID, speciesID = C_PetJournal.GetPetInfoByItemID(itemID)
- itemID: - an item ID
- Unlike many other item-related API functions, this function only accepts an item ID; passing an item link will raise an error. However, the item ID may be a string rather than a number.
Source
https://warcraft.wiki.gg/wiki/API_C_PetJournal.GetPetInfoByItemID · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.