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

Sort:
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"

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?

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

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.

bcurtis

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

Tricky_Dicky

Thanks Ben

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 ).

Tricky_Dicky

Thank you