API for live tournaments only includes a single round

Sort:
Avatar of r_b_123

I'm trying to build something with the tournaments API, but I see that I'm only able to get game results for the last round of the tournament I'm testing against. Here is an example tournament I'm testing against: https://www.chess.com/tournament/live/ccca---online-uscf-rated-tournament-5989265

I see there are other topics with the same problem, but I'm posting again in case it helps get some attention to the problem:

  1. https://www.chess.com/clubs/forum/view/bug-tournaments-endpoint-missing-rounds
  2. https://www.chess.com/clubs/forum/view/how-get-results-from-all-rounds

If this is intentional behavior, it would be great to clarify that somewhere.  Thanks!

Avatar of r_b_123

just to demonstrate more explicitly:


API says there are 5 total rounds:

❯ curl -s https://api.chess.com/pub/tournament/ccca---online-uscf-rated-tournament-open-5881061 | jq '.settings.total_rounds'
5


Only round 5 is included:

❯ curl -s https://api.chess.com/pub/tournament/ccca---online-uscf-rated-tournament-open-5881061 | jq '.rounds'
[
"https://api.chess.com/pub/tournament/ccca---online-uscf-rated-tournament-open-5881061/5"
]


Requesting another round, like round 1, gets an empty result:

❯ curl -s https://api.chess.com/pub/tournament/ccca---online-uscf-rated-tournament-open-5881061/1 | jq 
{
"groups": [],
"players": []
}

Avatar of rafal

Hey! @r_b_123 this should be fixed now 👍

Avatar of r_b_123

Awesome, thanks a bunch, @rafal!