live pgn API for automated chessboard

Sort:
Avatar of mauritswoudenberg

Hi,

I want to make an autonomously moving chessboard / pieces so I can play my chess.com games on a real board. I suck at chess, but I love it and making this board seems like a fun project. 

I've been looking around a bit but I can't really find what I'm looking for. Is there an API or some other way to somehow get the live feed from an online game in PGN or any other format? I really hope to avoid graphically get the info of the screen.

Thanks all!

PS.

Go Nihal Sarin!!!!

Avatar of Martin_Stahl
mauritswoudenberg wrote:

Hi,

I want to make an autonomously moving chessboard / pieces so I can play my chess.com games on a real board. I suck at chess, but I love it and making this board seems like a fun project. 

I've been looking around a bit but I can't really find what I'm looking for. Is there an API or some other way to somehow get the live feed from an online game in PGN or any other format? I really hope to avoid graphically get the info of the screen.

Thanks all!

 

 

There isn't a public API for making moves and won't be one. The site has entered into agreements with manufacturers of commercial boards to allow access to work with their devices through a private interactive API.

 

It's probably not something that would be made available to a hobby developer, but you could ask support directly.

 

https://support.chess.com/article/346-contact-us

Using screen scraping and programmatic methods to make moves from your device would risk getting flagged for fair play, so isn't advisable.