How to fetch item-images?
1. You can pull data from the trading post and create a cache of all the image links. Only items that are eligible to be put on the TP are available though.
2. Grab all the trading post data from gw2spidy which also includes the gw2db id. For all missing items, use the gw2db id to look them up at gw2db. From there, either use their icon or take the icon’s id and rip it directly from gw2.dat.
In both scenarios, you would want to create a cache, mapping item id’s to images.
https://forum-en.gw2archive.eu/forum/community/api/Items-icons-and-in-game-code
(edited by Healix.5819)
Or just request for access to the gw2db api:
http://www.guildwars2guru.com/topic/70465-guild-wars-2-database-api-request-thread/
There are some useful info that the gw2db data has that are not exposed in ArenaNet’s api at the moment and vice versa. But we have requested for them in the API suggestion thread. Gw2spidy uses the gw2db data too.
(edited by DarkSpirit.7046)
So it is requested that the API should provide images, too?
(I started writing a parser that parses all the images from items over gw2spidy All-Items-JSON and name them the ID of the item from GW2 official api)
So it is requested that the API should provide images, too?
(I started writing a parser that parses all the images from items over gw2spidy All-Items-JSON and name them the ID of the item from GW2 official api)
Check the official suggestion thread:
If it is not there, please add it. Thanks.