Get the Desktop App for Battle.net Now
- All your games in 1 place
- Log in once
- Automatic game updates
The icon field will be changing soon and it will return the appropriate full-name of the icon (using the class/race icon best suited for the selected character), such as shoulders_206_barbarian_female.
This will also prevent possible 404 issues when trying to build the full-name by hand, because not every item has an icon for every class/race combo.
After that, you can use the url format displayed above:
Edited by Korigus on 8/13/2012 11:24 AM PDT
If that's the case, can you guys include an array of valid class/genders for the icons on the item call?
Perhaps something like:
Can you include the item size in the item listing somewhere so we can point to the correct 'folder' as well?And how soon is 'soon'?
Dunno if this help you...
64x64 = http://us.media.blizzard.com/d3/icons/skills/64/wizard_magicmissile.png
21x21 = http://us.media.blizzard.com/d3/icons/skills/21/wizard_magicmissile.png
I think its only for skills, anyway, good luck =]
How is everyone solving the 'gender' problem...
IE: some items don't have one at all, some do, some only have a male designation. If the setup isn't exactly right, no icon is pulled at all.
Honestly, having the API return the <full image icon name>.png would be ideal, and hope the API gets updated to accommodate.
Edited by PittaMan#1558 on 8/15/2012 11:06 PM PDT
The icon field is now updated with the full icon name that should be used.
Take note: The icon name is correctly persisted during calls to the item-api (Male witchdoctor in this case). So the icon will be consistent between the 'simple' items returned in the profile-api calls and detailed items from the item-api calls.
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.