Ahlec.8423:

Hey! I’m really liking how fleshed out the API is becoming, and I was wondering: for the /account authorised endpoint, will total play time across all characters as well as current account AP be added in the near future? Calculating the former based on the playtime of all characters sounds like a workaround but doesn’t take into account characters which were deleted and are no longer providing data.

Both of these would help immensely for the data that I’m looking to work with.

Thank you, and keep up the great work!

Lawton Campbell.8517:

Hey! I’m really liking how fleshed out the API is becoming, and I was wondering: for the /account authorised endpoint, will total play time across all characters as well as current account AP be added in the near future? Calculating the former based on the playtime of all characters sounds like a workaround but doesn’t take into account characters which were deleted and are no longer providing data.

I just thumbed through the game code and am pretty sure we don’t actually track per-account play time — only per-character play time. Let me know if that’s wrong, but I’m not seeing a field for it anywhere in the account data.

The total AP is actually not a bad idea; I’m not sure why I didn’t add that yet. It’ll probably require the “progression” permission to match a related upcoming change. I’ll make a tracking issue on github for it later.

Ahlec.8423:

Regarding the account play time, I was just meaning the numbers exposed when you use /age in game. “Across all characters, you have played 1,600 hours in the past 700 days” or whatnot. I was assuming that this wasn’t a composite of just your current characters, but that it was an individual datapoint that was being stored on its own. That sounds like that’s incorrect though?

Malediktus.9250:

Hey! I’m really liking how fleshed out the API is becoming, and I was wondering: for the /account authorised endpoint, will total play time across all characters as well as current account AP be added in the near future? Calculating the former based on the playtime of all characters sounds like a workaround but doesn’t take into account characters which were deleted and are no longer providing data.

I just thumbed through the game code and am pretty sure we don’t actually track per-account play time — only per-character play time. Let me know if that’s wrong, but I’m not seeing a field for it anywhere in the account data.

The total AP is actually not a bad idea; I’m not sure why I didn’t add that yet. It’ll probably require the “progression” permission to match a related upcoming change. I’ll make a tracking issue on github for it later.

It must track total playtime somewhere, because /age does not go down if you delete a character and even goes up when you stay in character selection screen.

Lawton Campbell.8517:

Yep, you guys are right. Thanks for double-checking me on that — went through the code for the /age command and figured out where we’re storing that data.