(edited by Aderic.6028)
Regarding characters & items
Web Programmer
Is there a way to accurately store character information on the back-end? /v2/characters seems to only return their names and names can be changed in this game. There’s no way for me to update changes on my site.
The creation date is immutable; I’ve heard that some people are using that as a workaround.
I made the mistake of relying solely on the “attributes” array and ended up with incorrect stats on the accessories because of this.
“infix_upgrade” contains an array named “buff” which has its own attributes in it… It looks like in order to get the stats on the site to match up to this, I’ll have to add those two arrays together… It looks as though I’ll have to write something to parse this out..
Because it’s one string I’ll have to split it by the newline character, then split only the first space (since some stats contain spaces like “Agony Resistance”) and then I’ll have to add these together to calculate their stat totals. Just a lot of stuff involved…
Yeah, I’m also very unhappy with the data returned by the /v2/items endpoint. Right now it’s a total mess. At some point I’ll make /v2/itemz or something to fix a lot of current issues, but it’s not currently a high priority.
/v2/characters feels as though it covers most personalized equipment information while /v2/items covers the “base” equipment. It’d be great to see /v2/characters also return chosen stat numbers.
The inventories endpoints are definitely going to return selected stats (and binding status) at some point in the future. It was a bit of an oversight on my part, sorry!