Intriguing but have you reported this to the staff?
Games Played Long After Last Online Date?
The last online date flags the last login event as I understand it. The apps generally stay low gged in all the time and never trigger that to update and it would appear the API is using that value for the Last Online.
The same thing impacts open accounts on web profiles and I would assume the API as well.
I know there are plans to improve that in the future, but believe it's a lower priority update.
"The apps generally stay low gged [logged?] in all the time and never trigger that to update"
That's really useful but it means when I draw down a club admin's Last Online value and use it to disqualify them from activitis I help run, I also now need to consider what they may, or may not, have been doing via their phone-app?
This is yet another example of c.c software development that seems not to have been thought through as well as it might have been? Is there any way I can find out the last time a member had any interaction with the site by any mode of access?
The last online date flags the last login event as I understand it. The apps generally stay low gged in all the time and never trigger that to update and it would appear the API is using that value for the Last Online.
The same thing impacts open accounts on web profiles and I would assume the API as well.
I know there are plans to improve that in the future, but believe it's a lower priority update.
Thank you - that clarifies matters.
My explanation would have been that members may be making moves in their games by 'just' using the app and without interacting with the website (in other words, without having "been online").
But that isn't what Martin seems to be saying? ....
"apps generally stay low gged in all the time and never trigger that to update and it would appear the API is using that value for the Last Online"
Don't think Martin would have written "logged on all the time" if he meant the opposite but it's for him to clarify that?
The effect seems to be the same for what concerns OP (only perhaps the App should occasionally log off/on triggering "online").
If so, by the way, the output seems correct, if "online" should be understood as "interacted with Site"
I've long assumed that Last Online means the time-stamp when the member last logged out of the site but perhaps that needs clarifying too?
I suppose if making a move(s) in personal games via the app. is the only activity for which a member is classed as 'not online', then the Last Online time might still be of use.
In some profile data I downloaded for informal research, I noticed some cases where games were played long after the last_online date. There were several of these in my sample set of 53, so it doesn't look like an isolated occurrence. Is this a known issue? If so, it seems that my best bet would be to look at the date the last game was played.
Here's an example:
https://www.chess.com/member/RobinsRevenge0
Last game was on November 7, 2023, but their profile data shows they were last online on June 20, 2023: [{'name': 'RobinsRevenge0', 'status': 'closed:fair_play_violations', 'date_created': '2021-01-18 00:05:08 UTC', 'last_online': '2023-06-20 01:05:19 UTC', 'country': 'CA', 'url': 'https://www.chess.com/member/RobinsRevenge0'}]
Used get_player_profile() from the (unofficial) chessdotcom library in Python, if that's relevant.