Export all my games to my personal database

Sort:
Avatar of NewChessStudentFRA

Hi,

 

May it be possible to download all my games to my personal database?

 

Then, it is possible, I have failed to find this crucial factor!

 

Thanks for your answer(s)!

Avatar of notmtwain

Not unless you want to download them one by one.  They used to allow downloads of multiple games. However, it was too taxing for the servers and they stopped offering that possibility years ago.

Avatar of NewChessStudentFRA

Thank you :-( 

 

Maybe one day, there will have an exemption for chess :-)

Avatar of bcurtis

Hi there, @NewChessStudentFRA

We just started talking about building more tools for programmers and players who want direct data access. Please join us to help plan what comes next: https://www.chess.com/club/chess-com-developer-community

We do not currently provide the ability to download PGNs for games, but it is in the works! Tell us what you will build, and we can help get you the data for it.

Avatar of FortunaMajor

Actually, I think it is possible.

What I did is, I clicked on my games' 'archive'. When I reach the page, beside each game, there is a check box. If you want to download all games at once, there is this common box. If you click that, everything gets selected. Then you can click on the download button on the top.

Not sure if this answers your question.

Avatar of RMChess1954
aravinds_ll wrote:

Actually, I think it is possible.

What I did is, I clicked on my games' 'archive'. When I reach the page, beside each game, there is a check box. If you want to download all games at once, there is this common box. If you click that, everything gets selected. Then you can click on the download button on the top.

Not sure if this answers your question.

I am able to download 50 games at a time that way.

Avatar of MasterMatthew52

Click Play --> Archive then select the ones you want and hit download to get them all at once!

Avatar of RMChess1954

It would be nice to be able to download all of them at one time.

Avatar of bcurtis

More robust PGN downloads are now available through the developer API. You can read all of the documentation if you wish to build complex scripts, or just the PGN download info here. The games are batched by month of the end time, with live and daily chess in the same archives. This is not a single URL for a complete download of all games.

As an example, you can use this URL to find all months with games: https://api.chess.com/pub/player/rmchess1954/games/archives
Then add "/pgn" to the end of each of those links to receive a PGN of all games in that month.

 

Hope that helps!

Avatar of RMChess1954

Wow cool. Thanks bcurtis.

Avatar of GMMG1200
bcurtis wrote:

More robust PGN downloads are now available through the developer API. You can read all of the documentation if you wish to build complex scripts, or just the PGN download info here. The games are batched by month of the end time, with live and daily chess in the same archives. This is not a single URL for a complete download of all games.

As an example, you can use this URL to find all months with games: https://api.chess.com/pub/player/rmchess1954/games/archives
Then add "/pgn" to the end of each of those links to receive a PGN of all games in that month.

 

Hope that helps!

 

yes this is very helpful, thanks!

 

Avatar of habersame123

is there a way to only download blitgames rather than everything as it currently stands?

Avatar of manekapa
habersame123 wrote:

is there a way to only download blitgames rather than everything as it currently stands?

Set the archive filter to only show blitz games (website, not app).

Avatar of Hyro88

Hope it can help : https://github.com/CelianB/ChesscomPgnExporter

Avatar of Shadowlord_Spain
Hyro88 escribió:

Thanks! thanks! thanks!!! its works!

Avatar of nm0p

Hey, I recently wrote a small software to export all archived games:

https://github.com/nmaupu/chesscom_exporter/releases

Avatar of MrBetoBetun
Hyro88 escribió:

excellent !

Avatar of MauLotu
nm0p wrote:

Hey, I recently wrote a small software to export all archived games:

https://github.com/nmaupu/chesscom_exporter/releases

Modified the script to download specific year. Don't have to download all years again each time. 
https://github.com/CelianB/ChesscomPgnExporter/pull/3

Avatar of jxu

openingtree.com or download each page by date range, 50 at a time

Avatar of notjoemartinez

You can use https://chessinsights.xyz it will let you export games by pgn, csv or json