This project is read-only.

Get Item Icon

Oct 20, 2011 at 5:20 PM


It's a great library, and very helpfull :) Thanks for building it


Is it possible to get a link to the item icon, I didn't find how ?

Perhaps the library doesn't allow it for now ?



I saw that "" will return a full item description containing a "icon" column

and using it on the following "" will get back the icon


Thanks for help (sorry for english ^^)

Oct 21, 2011 at 9:52 PM
Edited Oct 21, 2011 at 9:54 PM

I got the Item Icons like this.

Might be a bit different for EU.

Hope this helps.


ApiClient Client = new ApiClient(WOWSharp.Community.Region.US);

public string IconURL = "";
public string slot1_image = string.Empty;

var character = Client.GetCharacter(Realm, CharacterName, true);

this.slot1_image = this.IconURL + character.Items.Head.Icon + ".jpg";

Oct 22, 2011 at 10:09 AM

Thanks a lot


For eu, just change in

Oct 22, 2011 at 3:40 PM
Edited Oct 23, 2011 at 2:01 PM

I did not find this for the item variable


var item = Client.GetItem( ItemId );


there is no "Icon" field so I cannot retrieve Icon for items which are not on a character :'(

Oct 27, 2011 at 11:50 PM
Edited Oct 28, 2011 at 12:05 AM

Looks like he stills needs to implement it.

Although you can edit the Community DLL with a few simple lines.

go into the Item Class file in the Community DLL Source and Add these lines of code between, ItemBind and BonusStats DataMembers.


        /// <summary>
        /// Gets or sets the item icon
        /// </summary>
        [DataMember(Name = "icon", IsRequired = true)]
        public string Icon


Compile and Reload the DLL into your project and you should be golden.

Then you can all the Icon as such.


public string IconURL = "";
var Item = Client.GetItem(ItemId);

this.Item_image = this.IconURL + Item.Icon + ".jpg";


Hope this helps.

Nov 4, 2011 at 10:08 AM

Thank you, it's perfectly working!

Nov 6, 2011 at 8:36 PM

Your welcome.