Get PGN from in-progress game

Sort:
Avatar of memescoep

Hi! I was wondering, is it was possible to get the PGN of a game that is currently in progress? I am using the python "chessdotcom" module. I can get the PGN of a completed game just fine, but I wanted to add a real-time mode to my app.

If this is possible, what endpoint do I need to use? Are there any specific steps I need to take in order to set up the chessdotcom module?

Avatar of Martin_Stahl

Yes, but only for Daily games

https://api.chess.com/pub/player/{username}/games

Avatar of memescoep

Are daily games only games that are PvP, and not PvBot?

Avatar of Martin_Stahl

Bot games aren't part of the archives unless saved and aren't part of the Public API

Avatar of memescoep

I see. Thanks