Jump to content
  • Sign Up

Request "https://api.guildwars2.com/v2/items" returns too many item-ID's?


GODh.3892

Recommended Posts

I made myself a tool that allows me to search for items on my accounts. To save myself a lot of requests (and therefor time) i store some info of all items locally in a file. The tool keeps that info up-to-date.

The request "https://api.guildwars2.com/v2/items" should give the id's of all items in the API. But for 2 days this requests give me a lot of ID's that do not seem to exist. When i try to get more detailed info on those ID's then i get an incomplete response from the API (i only check on name, but that is empty).

Here is a part of my log. It shows all ID's that don't have an item-name:

17:22:03: - Checking items.ini
17:22:05: * The items.ini has 63509 items
17:22:05: * The API has 63561 items
17:22:05: Getting missing items from API (max 200 per request)
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 63366]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 72700]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 81996]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 87656]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 87740]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 88014]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 89355]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 90449]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 92002]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 92732]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 92978]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 93339]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 93767]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 93795]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94162]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94178]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94193]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94200]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94204]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94222]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94244]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94264]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94296]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94307]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94340]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94342]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94535]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94642]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94666]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94689]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94696]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94809]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 94961]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 95680]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 96006]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 97557]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 97991]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 97994]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 98001]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 98009]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 98024]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 98048]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 98052]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 98063]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 98064]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 98102]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 98111]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 98123]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 98135]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 98151]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 98157]
17:22:06: We did NOT save a new item, because the api did not give us its name! [id 98159]
17:22:07: - Checking skins.ini
17:22:08: * The skins.ini has 7507 skins
17:22:08: * The API has 7507 skins
17:22:08: - Checking currencies.ini

This is happening for apx 2 days now... ☹️

 

Edited by GODh.3892
typos
Link to comment
Share on other sites

Ok, i think i was part of the problem. Two days ago i found a bug in my tool, fixed it and rebuilded the local files for items. That's probably why i only know about it since 2 days (i guess this "problem" is probably much older)...

So far it seems that these ID's are useless for my tool, because the name plays an important role (i cant do much with empty names).

But what kind of items are these? I tried one of the ID's: https://api.guildwars2.com/v2/items?ids=87656&lang=en

That gives me some info, but nothing really useful 🤨

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...