Ranc.4168:

Inventory API is not showing salvage kit/gathering tool count correctly
I’m noticing on my character that accessing the https://api.guildwars2.com/v2/characters/ API with my fully enabled API key has the wrong count for salvage kits and gathering items.

It’s showing the number of stacks, rather than the number of items in the stacks.

Is this intended?

Ranc.4168:

Could someone take a look at this?
It works fine for crafting materials, but not salvage kits or gathering kits.

Chokapik.3741:

The thing is, when you buy salvage kits or gathering kits, you only get one. The number displayed in-game is the amount of charges remaining (I think).
Have a look at the Master Salvage Kit for example: https://api.guildwars2.com/v2/items/23043?lang=en
It says charges:25.

Although I think it would be cool if we could have the number of charges on items with the v2/characters endpoint .

darthmaim.6017:

https://github.com/arenanet/api-cdi/pull/36#issue-89412755

It’s missing the gathering tools’ charges which will be added in a future PR.

Also some discussion about that here: https://github.com/arenanet/api-cdi/pull/16#issuecomment-77876109 and following comments

Lawton Campbell.8517:

Yeah, the charges are not currently available in the API. Once we have the data pulled out for ‘em it’ll be in a different field (e.g., not the count field).