How to encode data for pet ability tooltip?

1 Human Warlock
0
Right now the pet ability api does not provide ability description, I could get a tooltip html by:
http://us.battle.net/wow/en/pet/ability/(abilityId)/tooltip.
There is a parameter called 'data', which is encoded like 'rO0ABXcXAAAAAAAAAQAAAIQAAAAGAAAAAwAAAAg='. With this parameter, I could get a tooltip html with different description such as different damage value.
My question is how to generate the 'data' parameter?
Reply Quote
MVP
90 Tauren Druid
10125
This appears to be a base 64 encoded version of some data encoded via Java's Object Serialization Stream Protocol. At least part of the data appears to correspond with the level of the pet, but my guess is that this data is proprietary and not meant for external use.
________________________________________________
MVP, Web and API
WoW Libraries for the Community Platform API: http://us.battle.net/wow/en/forum/topic/2369882588
D3 Libraries for the Community Platform API: http://us.battle.net/d3/en/forum/topic/6307731317
Edited by Cyaga on 11/21/2012 9:39 PM PST
Reply Quote
1 Human Warlock
0
This appears to be a base 64 encoded version of some data encoded via Java's Object Serialization Stream Protocol. At least part of the data appears to correspond with the level of the pet, but my guess is that this data is proprietary and not meant for external use.

The data could be a combination of speicesId, breedId and level, or health, power and speed. I seems start with 'r' and end with '='.

Blizzard should open it to us, it's not a big deal, but eventually makes the game better.
Reply Quote
- Battle.net APIs
100 Night Elf Hunter
14895
i see where you are getting the data but it appears to be the same on all the battle pets on the website. you can use the api data and build your own tooltips
Reply Quote

Please report any Code of Conduct violations, including:

Threats of violence. We take these seriously and will alert the proper authorities.

Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.

Harassing or discriminatory language. This will not be tolerated.

Forums Code of Conduct

Report Post # written by

Reason
Explain (256 characters max)

Reported!

[Close]