API V2: Continent Floor ID's Inconsistent

API V2: Continent Floor ID's Inconsistent

in API Development

Posted by: Thuron.5648

Thuron.5648

The floors returned by the continents API seem to be inconsistent:

When requesting https://api.guildwars2.com/v2/continents/2, the object returned contains a floor array with the floor ID’s identical to how the v1 array would return them; numbers are skipped and they can be negative.

However when requesting https://api.guildwars2.com/v2/continents/2/floors a whole different array is returned that is in logical order. This is also the only one that can be used to get detailed info about floors in the v2 api.

This is the case with both continents.

http://www.gw2battlesupport.com/ – World’s first dynamic WvW Overlay

API V2: Continent Floor ID's Inconsistent

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

Next

Yeah, that’s totally broken. Sorry about that. I’ll try to push the fix to live on Monday :<

API V2: Continent Floor ID's Inconsistent

in API Development

Posted by: Thuron.5648

Thuron.5648

No worries! It’s easy to work around for now. Thank you for the quick update! (And for all the work on the API really, you guys are allowing us gamer/programmers to do such cool things with these API’s, I really appreciate it!)

http://www.gw2battlesupport.com/ – World’s first dynamic WvW Overlay

API V2: Continent Floor ID's Inconsistent

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

This should now be fixed on live.

API V2: Continent Floor ID's Inconsistent

in API Development

Posted by: Thuron.5648

Thuron.5648

It works like a charm! Thank you for the quick fix

http://www.gw2battlesupport.com/ – World’s first dynamic WvW Overlay