Export all my games to my personal database

Sort:
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)!

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.

NewChessStudentFRA

Thank you :-( 

 

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

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.

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.

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.

MasterMatthew52

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

RMChess1954

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

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!

RMChess1954

Wow cool. Thanks bcurtis.

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!

 

habersame123

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

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).

Hyro88

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

Shadowlord_Spain
Hyro88 escribió:

Thanks! thanks! thanks!!! its works!

nm0p

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

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

MrBetoBetun
Hyro88 escribió:

excellent !

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

jxu

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

notjoemartinez

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