How to correspond match ids to server names?

How to correspond match ids to server names?

in API Development

Posted by: Klinch.2964

Klinch.2964

Tried searching the forums for this but couldn’t find it.

How can I use the wvw match ids to get the 3 servers currently duking it out? How do I find out which server is Red, Blue, or Green team? Also, are the list of scores in the order of Red, Green, Blue as well?

I’m sort of a noob programmer, and I’m trying to write my own java library for these APIs. I think I almost have the wvw APIs done, I’m just trying to figure out how to get server names. Thanks for any help in advance!

How to correspond match ids to server names?

in API Development

Posted by: Drakma.1549

Drakma.1549

It specifically tells you in the matches.json which world is which.

red_world_id is the world_id of the red opponent
blue_world_id is the blue opponent

Just match those world_ids to world_names.json

And yes, scores are always in the order of Red, Blue, Green

(edited by Drakma.1549)