Thanks for replying. I’m not a web programmer, so I have to get used to these apis. Where can one find these objects? There’s no ‘gamedata’ or ‘clock’ item in the JSON structure.
If you have a list of games, you can check each of them by adding the game number to the above link. Part of the the JSON you will get back is a clock object with a value current_player which is the ID of the player to move. You can check that value against the black and white properties if you need the color.
What @Traveller said… you will need to visit the full game object at /api/v1/games/n in order to view the clock and gamedata objects for the game. They aren’t presented in listings of games due to the retrieval cost.