WvW World Linking

WvW World Linking

in API Development

Posted by: cyanfish.9521

cyanfish.9521

How will the upcoming world linking affect the WvW APIs? Are there any changes to the APIs planned for this?

WvW World Linking

in API Development

Posted by: Chaba.5410

Chaba.5410

I hope so!

Need to be able to query the API for which worlds are linked together in a match. This will help out TS admins greatly! TY.

Chaba Tangnu
Founding member of [NERF] Fort Engineer and driver for [TLC] The Legion of Charrs
RIP [SIC] Strident Iconoclast

WvW World Linking

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

Next

Proposed changes are detailed here. Will almost certainly make all_worlds always there if only to make it easier for testing; should have that bit out today/tomorrow.

WvW World Linking

in API Development

Posted by: cyanfish.9521

cyanfish.9521

Looks good, thanks.

WvW World Linking

in API Development

Posted by: fro.8967

fro.8967

Will this be launching before the world linking reset tonight?

WvW World Linking

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Next

Already live for EU matchups.

Also I’d recommend using the /v2/wvw/matches?world=X query to get the match state (rather than enumerating all_worlds).

WvW World Linking

in API Development

Posted by: wanted.6214

wanted.6214

I tried to get the server id linked but didn’t work now.

For example, Far Shiverpeaks is linked to Underworld but in the api under “all_words” the id of Underworld missing.

https://api.guildwars2.com/v2/wvw/matches?world=2007

{
    red: 2014,
    blue: 2007,
    green: 2207
},
all_worlds: {
    red: [
        2014
    ],
    blue: [
        2007
    ],
    green: [
        2207
    ]
},

Attachments:

(edited by wanted.6214)

WvW World Linking

in API Development

Posted by: MentalFS.2589

MentalFS.2589

I’m getting the same now, although it worked yesterday after the reset.

NA worlds seem to be returned correctly, but EU worlds only have one world per color.

Let the bards sing and the skaalds proclaim her glorious name forever[…]: Apatia!

WvW World Linking

in API Development

Posted by: Tiscan.8345

Tiscan.8345

I tried to get the server id linked but didn’t work now.

Just checked it after i saw that my website is missing some data. Seems like the linked worlds are missing for all EU matchups (NA seems to be working!?).

The funny thing is that EU-matchups were correct yesterday evening.

WvW World Linking

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Next

Oof, I’ll have the EU data fixed today. Sorry about that

WvW World Linking

in API Development

Posted by: wanted.6214

wanted.6214

Oof, I’ll have the EU data fixed today. Sorry about that

Ty for the answer.

WvW World Linking

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Just pushed out a terrible fix which hardcodes the world links. The API should be now be returning the correct data.

The WvW endpoints might be a bit flaky today; we’re adjusting some stuff on the API backend to compensate for a significant increase in request volume (normally is 4k requests/minute; was up to 6k requests/minute this morning). Will keep y’all updated.

Sorry for the hassle

EDIT: Adjustments are finished and everything seems stable. I’ll keep a close eye on it over the weekend to make sure no additional shenanigans happen.

(edited by Lawton Campbell.8517)