Pet Breeds from the API

Discuss your favorite pet addons and macros.
Post Reply
Jnichel
Posts:2
Joined:December 31st, 2015
Pet Score:10372
Realm:Korialstrasz-us
Contact:
Pet Breeds from the API

Post by Jnichel » February 22nd, 2025, 12:53 pm

Hi,

I've been working with the Blizzard API for my personal WoW helper tool, but I have found no way to get the breed of pets from there. I don't know if this is the right place to ask, but Blizzard has been no help at all. Would you be able to tell me if you get it from the API? I'm not looking for your secrets, but just if that's the way you do it so that I know I'm on the right path. Thank you.

Cysgodi
Posts:1
Joined:December 31st, 1969
Pet Score:9509
Realm:Dalaran-us
Contact:

Re: Pet Breeds from the API

Post by Cysgodi » February 23rd, 2025, 10:34 am

Battle pet breeds aren't "officially" part of the WoW battle pet data, so there aren't any API calls related to them. The only way to determine a pet's breed is by math. If you want to get into the details, the logic in the BattlePetBreedID addon is coded well, so it's easy to read.

Jnichel
Posts:2
Joined:December 31st, 2015
Pet Score:10372
Realm:Korialstrasz-us
Contact:

Re: Pet Breeds from the API

Post by Jnichel » February 23rd, 2025, 1:18 pm

Cysgodi wrote:
February 23rd, 2025, 10:34 am
Battle pet breeds aren't "officially" part of the WoW battle pet data, so there aren't any API calls related to them. The only way to determine a pet's breed is by math. If you want to get into the details, the logic in the BattlePetBreedID addon is coded well, so it's easy to read.
Thank you for the reply. I use BattlePetBreedID in game, so I'll poke around in there. My main concern was getting what breeds are available for a pet. Like Yipper is only available as a H/P breed, but an Abyssal Slitherling is available in multiple breeds (P/P, S/S, P/S, etc). I guess places like here and WoWhead are just getting the info from in the game?

Post Reply