Interactive API Status

Sort:
mvnd06

I'm new here and I just finished reading the README and some of the current threads. I was simply wondering about the status of the interactive API, as I couldn't find much detail on it. Is it still being actively developed? Has an official developer application process been established? Is there currently a tentative release date? Any answers that you may have would be really helpful and much appreciated. 

 

erik

Thanks for asking. At this point we do not yet have interactive/post API on the roadmap. We are still evaluating. If you could post use-cases, that would be helpful. 

skelos

When combing through country membership data there's a manual step between creating a list of invitees and inviting them.

As noted in another thread that's a small problem and unavoidable anyway if the person generating the list is not an admin of the relevant group so someone else has to issue the invitation.

(I'm looking for candidates for Team Australia and also our city teams. I'm only admin in my own city team.)

This is the only concrete case I have where data from api.chess.com proceeds to a manual step.

 

When sending PMs to encourage people to important matches (which borders on spamming, and I'm not very keen, but it's the way some groups work) being able to send PMs would be useful, but on the other hand not being able to send PMs programatically might be better. Spending half an hour here and there working through the rating list with "send message", "paste" and "send" might be a useful disincentive to overusing PMs. Food for thought, but I am not asking for this feature in an interactive API. (It'll end up there, but don't blame me, please.)

skelos

Removing players from a team would be a good use for the interactive API. I'd prefer not to set rules in the API; removals are few enough that when they're not done by hand they're in tens to hundreds in my experience, not thousands.

One team I'm in recently removed everyone who hasn't been active for three months. Manually, that is moderately annoying. Automating it and providing a list of member names generated by whatever criteria the team prefers to use (with the match API we'll shortly know who is active for a given team vs. merely active on the site) is something I'd like to be able to do.

skelos

Of course, live tournaments and live matches and vote chess ... more for the roadmap? I'd like all those before an interactive API.

For vote chess, I'd like per-vote information and precise timing. Early votes can wreck vote chess games and while V3 will say things like "1 day ago" ... that's not as user-friendly as it might be. Just give a timestamp in seconds and a timestamp for the end of the team's turn and let us calculate. 3 days by 24 hours by 60 minutes ... yeah, I can calculate that. happy.png

walidmujahid

I would love to be able to programmatically send messages, invites, and setup a game between two individual players in live.

Mengatto

A use case would be an alexa skill integration. The user links his chess.com account, and then he can play moves using only voice commands. The skill would need to be able to read the game state and also send move commands. The user would be able to play with or without a board, making blindfolded games really interesting.

bliswell

If the useage doesn't violate the rules, then why worry about how it is going to be used?

Weather underground API assigns a user key and limits the number of calls per day and per minute for that key.  There are different pay levels for different usage allowances.

But really cheating tools are already accesible for manual entry.  API cheating seems more convoluted.

I would be interested in playing unrated games against AI.

https://www.chess.com/article/view/site-playing-rules-a-guide-for-the-perplexed

BronsteinPawn

RELEASE IT LORD ERIK

skelos

I'll be interested in the interactive API if/when, but I'm more interested in seeing the current read-only endpoints be fleshed out with vote chess access and other website features which are not available (yet ...) via api.chess.com.

This isn't meant to discourage an interactive API, merely help show current developer interest. I've quite a few in-production scripts now, which granted don't hit a whole lot of endpoints but do hit core things like profiles, stats, team profiles, team matches, team members and national login information pretty much daily.

SpyderTL

A discussion about chess popped up over on the OSDev forums, and someone suggested creating a system to allow people to write their own AI to compete against other AI players, and I decided to check chess.com to see if that already existed.  So I'd like to see this as a possible use case for the API.

 

We should be able to create an "AI" account, and write our own back-end logic that we can run, that will log into that account, find opponents, and play a full game.  You could even have AI only tournaments, with limits on code size (8k, 4k, 512b, etc.) for a real challenge.

 

I'll check back to see how the Interactive API is coming along.  Keep up the good work, guys!

ajnieminen

Any news about Interactive API?

I would love to start developing a sailfish client for chess.com.

pedrogbarretto

Hey! Any news about Interactive API?

TanmayAr

I'm pretty sure u can do this by just using selenium and chrome-webdriver.

askrich

Would using Selenium be against the TOS?

I'm building my own physical chess board and very much would like to be able to play games on here using it.

I have the technical capability to do so, but I don't want to be banned. Admittedly my skill level is pretty low, and in reality it's not necessarily easy to distinguish,  but I like to be fair and to the spirit.

I know DGT boards work with chess.com, but I'm assuming some financial/commercial arrangement here?

Eyal282
erik wrote:

Thanks for asking. At this point we do not yet have interactive/post API on the roadmap. We are still evaluating. If you could post use-cases, that would be helpful. 

 

eyal282/Chess-ELO-Discord-Bot: Chess ELO Discord Bot (github.com)

/lichessnew but for chess.

Basically my discord bot wants you to prove you own the account, so I need the OAuth2 aspect of the interactive API, which cannot be abusd because I'm asking for Public Profile Data

Boris-Trapsky

Hello! I wrote the Boris-Trapsky chess bot---the most-played "community" bot on lichess.org. (Boris is a fun opponent, because he gambles on risky, reckless moves whenever he thinks he can fool you. See https://lichess.org/@/Boris-Trapsky)

I'd like to bring Boris-Trapsky to chess.com users, too, but the interactive API isn't moving forward. :-) What would it take to put Boris-Trapsky directly on chess.com's servers?

erik
Boris-Trapsky wrote:

What would it take to put Boris-Trapsky directly on chess.com's servers?

I emailed you!

Citolo

Last question was around 2021, here on 2024, Does anybody know if the interactive API is available?

Martin_Stahl
Citolo wrote:

Last question was around 2021, here on 2024, Does anybody know if the interactive API is available?

It's not generally available as I understand it. Some board developers have access to some APIs to make their boards work.