Suggestion for world_names.json

Suggestion for world_names.json

in API Development

Posted by: DarkSpirit.7046

DarkSpirit.7046

Would be nice if https://api.guildwars2.com/v1/world_names.json would also have a field to show if they are US or Europe servers since users from one zone can’t guest across the other.

Suggestion for world_names.json

in API Development

Posted by: gnash.7584

gnash.7584

Look closer at the ID’s and you discover a pattern.
10xx is US
20xx is EU
21xx is EU/French
22xx is EU/German
23xx is EU/Spanish

Suggestion for world_names.json

in API Development

Posted by: DarkSpirit.7046

DarkSpirit.7046

Look closer at the ID’s and you discover a pattern.
10xx is US
20xx is EU
21xx is EU/French
22xx is EU/German
23xx is EU/Spanish

If that pattern is guaranteed to always hold true, then we wont need this.

Suggestion for world_names.json

in API Development

Posted by: Yoone.9461

Yoone.9461

A little official documentation on the server IDs wouldn’t hurt if you are right gnakitten584!

Suggestion for world_names.json

in API Development

Posted by: DarkSpirit.7046

DarkSpirit.7046

A little official documentation on the server IDs wouldn’t hurt if you are right gnakitten584!

Yes, that is what I am looking for.

Suggestion for world_names.json

in API Development

Posted by: Cliff Spradlin.3512

Cliff Spradlin.3512

Lead Programmer

Hi,

I’ve updated the API documentation with this information:

https://forum-en.gw2archive.eu/forum/community/api/API-Documentation

In short – the region of a world can be reliably determined from its world_id. Language-specific worlds currently follow a pattern but that pattern is not guaranteed.

Suggestion for world_names.json

in API Development

Posted by: DarkSpirit.7046

DarkSpirit.7046

Hi,

I’ve updated the API documentation with this information:

https://forum-en.gw2archive.eu/forum/community/api/API-Documentation

In short – the region of a world can be reliably determined from its world_id. Language-specific worlds currently follow a pattern but that pattern is not guaranteed.

Thanks Cliff!