Missing data in Team Match endpoint: Club info missing from registered matches

Sort:
Avatar of Tricky_Dicky

https://api.chess.com/pub/player/{username}/matches


"registered": [
/** List of matches */
{
"name": "Name of match",
"url": "URL", // URL of match on web site
"@id": "URL", // URL of PubAPI match endpoint
"club": "URL", // URL of player's club endpoint
}
]


example  CLUB data missing
"name":"Across the pond friendly",
"url":"https://www.chess.com/club/matches/945209",
"@id":"https://api.chess.com/pub/match/945209"

Avatar of stephen_33

Did you see this news item...

https://www.chess.com/news/view/breaking-change-players-clubs-endpoint-3059

I think the developers have been redesigning certain endpoints?

Avatar of Tricky_Dicky

Different endpoint Stephen. That is the player clubs end point. This data is from player team matches.

The definition in the endpoint forum still shows 'club' information as above

Avatar of stephen_33

O/k, my eye fell on the highlighted part in your post 'CLUB data missing' & I came to the wrong conclusion!

It's a little worrying when the API documentation doesn't agree with the actual endpoints we're downloading.

Avatar of bcurtis

This does appear to be an error. I've created a ticket to fix it.

Avatar of Tricky_Dicky

Thanks Ben

Avatar of andreamorandini

@Tricky_Dicky, we have solved the problem. Now, fresh data will contain club information also for registered matches (see https://api.chess.com/pub/player/tricky_dicky/matches ).

Avatar of Tricky_Dicky

Thank you