Items API with ?ids= returns weird order
Additionally, does the API for items support a POST request so that I can avoid having to do a bunch of separate queries for many IDs without hitting URL limitations?
The returned items are completely unordered due to the asynchronous behaviour of the backend (i believe Lawton or Pat explained that somewhere over here).
Also, the URL size problem has already been discussed. We’ve agreed to just use ~200 IDs (which is a bit below 4096 bytes, Internet Explorer URL max size).
Also: this https://forum-en.gw2archive.eu/forum/community/api/help-with-making-a-list-of-item-names/5267994
The API only currently allows a max of 200 results/request
(edited by smiley.1438)
Sigh. That’s disappointing. Now I have to learn spreadsheet scripting to try to parse the URL to get the list of IDs, and then sort the resulting JSON the same way. Anyone have anything like that for google spreadsheets that does that already?
If you can, just throw it all into a database and update it as people access certain items.
Toyota Car Dealers [TCD]
Web Programmer
The returned items are completely unordered due to the asynchronous behaviour of the backend (i believe Lawton or Pat explained that somewhere over here).
That’s pretty much it. I’m going to put an item on the backlog to return them sorted when a specific set of ids is requested — there’s no reason not to.