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?
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?
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
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.
@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 ).
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"