These are chat archives for arenanet/api-cdi

10th
May 2018
smiley
@codemasher
May 10 2018 03:05
ICYMI: GW1 just received the BEST UPDATE EVER https://wiki.guildwars.com/wiki/Feedback:Game_updates/20180509
ChieftainAlex
@ChieftainAlex
May 10 2018 06:22
https://api.guildwars2.com/v2/skills?ids=9208,9192 - these skills have been renamed ingame but haven't been renamed in the API.
Eearslya Sleiarion
@Eearslya
May 10 2018 06:27

Pillar of Light: This skill is now a symbol and has been renamed Symbol of Light.

name: "Symbol of Light"

?
Quaggan BooOOoot
@QuagganBooOOoot
May 10 2018 15:02
New discussion in API Development:

/v2/skins: colors differ on different languages
by Nokomis.5076 in API Development

https://api.guildwars2.com/v2/skins/263?lang=en
https://api.guildwars2.com/v2/skins/263?lang=de

at least on one language, I get lots of "color_id": 1 (which is basically no color as 1 = dye remover)

Eearslya Sleiarion
@Eearslya
May 10 2018 15:15
@Archomeda Derp, it's been a long time since I've actually used the API, thanks for catching that.
Eearslya Sleiarion
@Eearslya
May 10 2018 15:23
okay that color issue is weird; I swear they both show up as 1s for everything
datacenter issues?
darthmaim
@darthmaim
May 10 2018 15:23
maybe?
Eearslya Sleiarion
@Eearslya
May 10 2018 15:24
what's EU's IP?
I wonder if that's related to what Alex was saying earlier...
darthmaim
@darthmaim
May 10 2018 15:27
Those skills show the correct names for me in eu
Let me check what the ip is
api.guildwars2.com resolves to 52.59.126.232 for me
Eearslya Sleiarion
@Eearslya
May 10 2018 15:28
yes indeed, switching datacenters changed the color IDs
mine is 34.226.105.80
darthmaim
@darthmaim
May 10 2018 15:29
let me try that
yup, now everything is 1 for me
Eearslya Sleiarion
@Eearslya
May 10 2018 15:30
@apoch boop
darthmaim
@darthmaim
May 10 2018 15:31
Funny enough, the pre amazon ip still works, and returns entirely different results
Eearslya Sleiarion
@Eearslya
May 10 2018 15:32
even better! XD
darthmaim
@darthmaim
May 10 2018 15:32
Not 1, but also not what eu is returning
and pre amazon differs between languages too
(both different again)
Ok, maybe that was some weird cached result from the old servers, now I get ERR_CONNECTION_TIMED_OUT (which I expected because those servers shouldn't be running anymore)
Or I just crashed them when I requested /v2/builds because I wanted to know if they are stuck in the past
Eearslya Sleiarion
@Eearslya
May 10 2018 15:35
rip XD
breaking stuff, way to go
Archomeda
@Archomeda
May 10 2018 15:41
lol
ChieftainAlex
@ChieftainAlex
May 10 2018 17:22
huh weird the names have been updated
100% sure they were old names as of this morning :)
Mike Lewis
@apoch
May 10 2018 17:37
Caching is a wonderful thing.
darthmaim
@darthmaim
May 10 2018 21:15
working on a PR for https://status.gw2efficiency.com/ that queries both datacenters
image.png
Eearslya Sleiarion
@Eearslya
May 10 2018 21:19
What content is it checking?
same as it does now
but all requests are made for each datacenter
Eearslya Sleiarion
@Eearslya
May 10 2018 21:21
Oh, do you just add in ones that have been known to cause trouble?
darthmaim
@darthmaim
May 10 2018 21:21
I guess so
Don't know how @queicherius chose those 3 skins
darthmaim
@darthmaim
May 10 2018 21:27
But there is some interesting stuff happening
image.png
same error, different error code between datacenters
(the error is this btw:)
<Error code="48" module="3" line="505" text="callback (complete): TypeError: Cannot convert undefined or null to object
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at async.waterfall (C:\ArenaNet\lLiveWebApi.337\Web\Js2API\Code\v2\Controllers\guild\teams.js:106:24)
    at fn (C:\ArenaNet\lLiveWebApi.337\Web\Js2API\node_modules\async\lib\async.js:717:34)
    at C:\ArenaNet\lLiveWebApi.337\Web\Js2API\node_modules\async\lib\async.js:1170:16
    at C:\ArenaNet\lLiveWebApi.337\Web\Js2API\node_modules\async\lib\async.js:172:37
    at C:\ArenaNet\lLiveWebApi.337\Web\Js2API\node_modules\async\lib\async.js:677:43
    at C:\ArenaNet\lLiveWebApi.337\Web\Js2API\node_modules\async\lib\async.js:173:37
    at C:\ArenaNet\lLiveWebApi.337\Web\Js2API\node_modules\async\lib\async.js:1166:30
    at callbacks.forEach (C:\ArenaNet\lLiveWebApi.337\Web\Js2API\Code\v2\Lib\memoize.js:141:49)
    at Array.forEach (native)"/>"
Quaggan BooOOoot
@QuagganBooOOoot
May 10 2018 22:47
New discussion in API Development:

Professions -> Weapons not an array?
by blobfish.6712 in API Development

Hello,

Looking at the api documentation here: https://wiki.guildwars2.com/wiki/API:2/professions it says that "weapons" is supposed to be an array ("weapons (array of objects)"). If i look at an actual request, for example: https://api.guildwars2.com/v2/professions/Engineer the weapon array is sent like this: "weapons": {...} when it should be "weapons":[{...}, {...}, ...] or am I misunderstanding something?

Archomeda
@Archomeda
May 10 2018 23:02
Hmm... We still need to clean up the API docs
Well, rather normalizing it.
Daniel Snider
@dsnider-anet
May 10 2018 23:03
I thought I saw some json schema files somewhere
Archomeda
@Archomeda
May 10 2018 23:03
I still want that API navbar on the wiki, like many pages have... @ChieftainAlex is there an easy example I can look at?
@dsnider-anet I thought there weren't any schema files
looks like this is the only one
Archomeda
@Archomeda
May 10 2018 23:05
Oh, but that's community contributed
darthmaim
@darthmaim
May 10 2018 23:06
Didn't know that got merged :O
he created a few more
but nothing official, probably still missing a few properties
Daniel Snider
@dsnider-anet
May 10 2018 23:06
Hmmm
darthmaim
@darthmaim
May 10 2018 23:08
Official schema files would be nice
darthmaim
@darthmaim
May 10 2018 23:33
oh, I did write a tool some time ago that analyzed endpoints
which properties exist how often
and what values they can have