These are chat archives for arenanet/api-cdi

7th
May 2018
smiley
@codemasher
May 07 2018 18:05
image.png
Mike Lewis
@apoch
May 07 2018 23:34
Related to https://en-forum.guildwars2.com/discussion/38782/itemstats-are-wrong ...does anyone actually scrape /v2/itemstats ? it has been lying for two years. We can totally make it do the right thing but I'm a tiny bit worried about breaking anything that pulls from there
Quaggan BooOOoot
@QuagganBooOOoot
May 07 2018 23:34

itemstats are wrong
by Nokomis.5076 in API Development

https://api.guildwars2.com/v2/itemstats/1044
All zero?

https://api.guildwars2.com/v2/itemstats?ids=all
There are many IDs which don't have any stats at all, even more with all 0's in them.

None of those ItemStats ever have AgonyResistance on them as well (or it's just 0).

Archomeda
@Archomeda
May 07 2018 23:41
I don't think so, maybe referenced from stat choosy items, but not directly. @darthmaim and I were working on a build editor some time ago, and I had the idea of using that endpoint, but in its current state it's unusable.
And items that have their stats selected, have the attributes directly available in the same response anyway
Mike Lewis
@apoch
May 07 2018 23:44
gotcha. I'll see if the web gurus can pull me stats on it, but unless it turns out to be super vital I think we'll start working on rolling out a fix
Archomeda
@Archomeda
May 07 2018 23:45
e.g. https://api.guildwars2.com/v2/items/77474 has details.stat_choices that's referencing /v2/itemstats
but I can't think of anything else that might be using it
Mike Lewis
@apoch
May 07 2018 23:46
alright, thanks
Archomeda
@Archomeda
May 07 2018 23:57
But yeah, I'm not everyone. So it might be better to post in that same thread asking what you asked me :D