Tournament's Round API endpoint

Sort:
ymsgeneral

Description: Get details about a tournament's round.
URL pattern: https://api.chess.com/pub/tournament/{url-ID}/{round}

For every tournament I've checked so far, every round's  ["groups"] appears to be empty with the exception of the last round.  I don't really know what a round group is so I'm not sure if that's correct or not.   I expected there to be data (players,pgn, etc..) for every round of a tournament. (https://api.chess.com/pub/tournament/{url-ID}/{round}/{group}). What am I missing?

Examples:

>>> for i in range(1,11):
... full_url = "https://api.chess.com/pub/tournament/-scc-grand-prix-titled-tuesday-blitz-1496670/" + str(i)
... res=sess.get(full_url)
... res.json()
...
{u'players': [], u'groups': []}
{u'players': [], u'groups': []}
{u'players': [], u'groups': []}
{u'players': [], u'groups': []}
{u'players': [], u'groups': []}
{u'players': [], u'groups': []}
{u'players': [], u'groups': []}
{u'players': [], u'groups': []}
{u'players': [], u'groups': []}

{u'players': [{u'username': u'thebutcher'}, {u'username': u'attilaturzo'}, {u'username': u'parintele_chess'}, {u'username': u'ecwinslow'}, {u'username': u'komodo_dragaon'}, {u'username': u'goldihouse'}, {u'username': u'gmkrikor'}, {u'username': u'jrenatomaranhao'}, {u'username': u'powerthinking2650'}, {u'username': u'erichansen'}, {u'username': u'creativity'}, {u'username': u'fins0905'}, {u'username': u'gregshahade'} ......

>>> full_url = "https://api.chess.com/pub/tournament/-scc-grand-prix-titled-tuesday-blitz-1526407"
>>> res=sess.get(full_url)
>>> total_rounds=res.json()["settings"]["total_rounds"]
>>> for i in range(1,total_rounds +1):
... full_url = "https://api.chess.com/pub/tournament/-scc-grand-prix-titled-tuesday-blitz-1526407/" + str(i)
... res=sess.get(full_url)
... res.json()
...
{u'players': [], u'groups': []}

{u'players': [], u'groups': []}
{u'players': [], u'groups': []}
{u'players': [], u'groups': []}
{u'players': [], u'groups': []}
{u'players': [], u'groups': []}
{u'players': [], u'groups': []}
{u'players': [], u'groups': []}
{u'players': [], u'groups': []}
{u'players': [{u'username': u'justinz'}, {u'username': u'parintele_chess'}, {u'username': u'gmkrikor'}, {u'username': u'davigator'}, {u'username': u'jrenatomaranhao'}, {u'username': u'marcocorvi'}, {u'username': u'erichansen'}, {u'username': u'creativity'}, {u'username': u'gregshahade'}, {u'username': u'vishnuprasanna'}, {u'username': u'chess4life23'}, {u'username': u'geordie_derraugh'}, {u'username': u'zkid'}, {u'username': u'spalir'}, {u'username': u'wannabe2700'}, {u'username': u'fearnoevil12'}, {u'username': u'synctel'}, {u'username': u'lacafi'}, {u'username

Martin_Stahl

I just checked on a club I run and the final round has all the game PGNs.

So for that 2nd event, https://api.chess.com/pub/tournament/-scc-grand-prix-titled-tuesday-blitz-1526407/10/1 returns all games from all rounds.

 

Though, it doesn't look like the PGNs actually have the round #'s in them.

Martin_Stahl

I actually just pulled one of the PGNs as from the actual game link and it doesn't include the round either.