month match recovery but not the last xx match call
Description: standard multi-game format PGN containing all games for a month. URL pattern: https://api.chess.com/pub/player/{username}/games/{YYYY}/{MM}/pgn
https://api.chess.com/pub/player/{username}/games/archives you could use that to get what's available and then iterate through those to get each month.
If you just want a certain number of games, you would get the available archives, start with the first one and grab the # you want. If that's not enough, the next month and grab the remaining games.
Hi!,
sorry for my poor english but
I only see one in
https://www.chess.com/news/view/published-data-api
month match recovery but not the last xx match call
Description: standard multi-game format PGN containing all games for a month.
URL pattern: https://api.chess.com/pub/player/{username}/games/{YYYY}/{MM}/pgn
https://api.chess.com/pub/player/{username}/games/archives you could use that to get what's available and then iterate through those to get each month.
If you just want a certain number of games, you would get the available archives, start with the first one and grab the # you want. If that's not enough, the next month and grab the remaining games.