API C PetJournal.GetPetInfoByIndex

Returns information about a battle pet. petID, speciesID, owned, customName, level, favorite, isRevoked, speciesName, icon, petType, companionID, tooltip, description, isWild, canBattle, isTradeable, isUnique, obtainable = C_PetJournal.GetPetInfoByIndex(index)

Arguments

 * index : Number - Numeric index of the pet in the Pet Journal, ascending from 1.