chess.com API?

Sort:
1milan

Is there a way to authenticate, I want to write an app that can only retrieve data of the games of the user if authenticated.

Martin_Stahl
1milan wrote:

Is there a way to authenticate, I want to write an app that can only retrieve data of the games of the user if authenticated.

 

The API is only what's available to anonymous members (public) anyway.

 

There is a post in the https://www.chess.com/club/chess-com-developer-community forums about OAuth. I don't know how accurate the information is still. You basically have to apply for access to it.

GrandCosmicSensor

Hello, For anyone wanting to tinker around with DIY Over the board linkup with chess.com I have a solution for you. 

I have done this for other applications and I know it would work just fine.

Use a device as a proxy. I'm will give a general psudo example with a smart phone.

Chess.com runs on phone,

Implement screen capture,

Use AI image Shape recognition to recognize and identify the location of each piece,

Use android custom gesture Code to virtually "press" or "touch" the screen. The locations of the custom gesture points can be explicitly programmed or dynamically programmed by having the AI identify all of the 64 squares. 

Export in realtime the locations of each piece and import at all times which gesture point to "press" bada boom Bada bing you have what nobody wants you to have. 

Some advanced cheating software can be made this way. And can also be made to be automatic and undetectable by making the engine grow at a "human speed" and make few brilliant moves and to not trade pieces. Things of that nature. This type of stuff already exist and is not fair to other players, unfortunately that's why you have to jump through hoops to do something honest like playing over the board with your dad through the internet, banger Idea man. Good luck to you. 

That's it, now while chess.com runs on your device

GrandCosmicSensor

Now you've trapped me into this idea. As an Electrical Engineer In have a few ideas for an autonomous Physical Board. 

Within the board is an X,Y machine. It doesn't have to be very heavy duty or accurate, but it should have good speed. 

Each piece can have a closed inductive coil and capacitor inside that responds to a "ping" from under the board. The ping would be unique for each piece, an RFID chip might work with some shielding. Each piece will also have 2 chunks of iron embedded within the base of the piece.

The piece grabber is embedded into the output of the xy machine. The grabber is just an electromagnet that grabs the iron within the piece above from under the board. (hidden) the grabber can be turned on and off allowing us to eliminate a z axis. 

On the board would be some controls, I have thought of a way to eliminate an LCD Screen.

On the edge of the board would be some physical areas for setting up a game. Within the board embed wooden wheels. On these wheels would be wood burned text of different game options. Ex: 3 min, 10 min, 30 min. Or a wheel with the initial options Ex: play online, play a bot, play a friend, etc. There can be a wheel selector with 10 friend or engine presets that you can set up through a phone app. So set your buddy Jim to present 4 and spin a wheel to "play a friend" and spin a wheel to "preset 4" and etc. 

The board would have slot windows revealing only a single option of each wood burned wooden wheel. 

I would love to somehow incorporate an hourglass into the timer but was thinking instead of a wooden dial that would indicate time elapsed.

And as another said, the board would also except voice commands, or the user can move by hand. There is a configuration of e-paper that when done correctly looks exactly like graphite on paper. It would be neat to maybe incorporate a hand-written-themed e-paper control hub and move recorder. 

Anyways I have 4 kids and lots of other projects so I'll do this when I'm 60. Cheers!

skd1994
mgx9600 wrote:

Yes, if the API comes along, I'll write a chessboard software that works with chess.com.

Right now, I have 2 ideas in mind:

1. A phone (with camera) set up above a regular board to forward moves to chess.com and speak opponent moves.

It may not be integrated with chess.com but there are some smart boards available in the market with the same concept.

2. The above set up but also ask the phone to control a robot arm to physically perform the opponent move (as well as speak it). The arm can also move the player's pieces so with voice command.

Deepak98777

Yf