When I put this command into a web browser
https://api.chess.com/pub/player/hikaru/games/2021/10
the raw json gets returned. How do I save it into a pgn file so i can open in a database program like chessbase?
You'll have to write a program to parse the data and output to a text PGN. Or find code someone else has released that has already done that.
When I put this command into a web browser
https://api.chess.com/pub/player/hikaru/games/2021/10
the raw json gets returned. How do I save it into a pgn file so i can open in a database program like chessbase?