These are chat archives for arenanet/api-cdi

29th
Jul 2018
smiley
@codemasher
Jul 29 2018 00:04
inconsistent result as in number of items going up?
btw. i have a very recent sql dump of the json responses for all available languages
Gary
@oz-codes
Jul 29 2018 00:57
nice
and the number of items fluctuates both up and down
> api.getItems().then((it) => { console.log(it.length); });
Promise { _40: 0, _65: 0, _55: null, _72: null }
> 50207
> api.getItems().then((it) => { console.log(it.length); });
Promise { _40: 0, _65: 0, _55: null, _72: null }
> 50208
it keeps bouncing around that general number
smiley
@codemasher
Jul 29 2018 00:59
it should go up only
Archomeda
@Archomeda
Jul 29 2018 00:59
smiley
@codemasher
Jul 29 2018 01:00
there has been a reset of the discovered items recently
Gary
@oz-codes
Jul 29 2018 01:00
well in the next one it went back down to 50207 lol
smiley
@codemasher
Jul 29 2018 01:00
there are still about 10k items waiting to be rediscovered
Gary
@oz-codes
Jul 29 2018 01:00
but it looks like im getting more of the items now finally
basically im just working on a small tool that looks up items by name and returns a list of items that match what you've typed in along with their id
and i kept finding a few instances where certain items were missing (like for instance there are two different black lion chest key items and only one was showing up)
smiley
@codemasher
Jul 29 2018 01:12
hmm, for some reason the .gz does not extract correctly - try this instead https://smiley.codes/gw2db/gw2_items_temp.sql.zip
Gary
@oz-codes
Jul 29 2018 01:36
nice thanks m8
i just need to extract the data_en fields from all of them and i can use that which is gr8
smiley
@codemasher
Jul 29 2018 01:54
glad to help!