djcaf, I have no problem downloading some of that API data within a browser window but how are you accessing the endpoint? Perhaps your problem lies here:-
The response has two special headers worth noting if programmatically hitting this endpoint (browsers handle these automatically):
Content-Type: application/x-chess-pgn
This content type indicates the type of parser needed to understand the dataContent-Disposition: attachment; filename="ChessCom_username_YYYYMM.pgn"
This disposition indicates that browser should download, not display, the result, and it suggests a filename based on the source archive
Hi,
The documentation at: https://www.chess.com/news/view/published-data-api#pubapi-endpoint-games-archive-list implies that live games should be returned by the following (or any similar) URL:
https://api.chess.com/pub/player/djcaf/games/2011/11/pgn
This does not seem to be the case. Unless I am missing somthing the following live game should be returned but does not seem to be;
https://www.chess.com/live/game/202420638
Any ideas?
Thanks