Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the Lichess API to find all future tournaments a team is in, but no leaders have joined #16620

Open
bmcdeearr opened this issue Dec 18, 2024 · 1 comment

Comments

@bmcdeearr
Copy link

I am a team leader and there has been an influx of requests in my Inbox to join Arena tournaments.
I wish to be proactive and find tournaments where the tournament creator has put my team into the list, but the other leaders don't know.

I checked https://lichess.org/api#tag/Teams/operation/apiTeamArena, and it was confirmed in my original thread in the Lichess Discord Support that the API only finds results where the Team Leader already joined.

Is it possible to investigate whether an API can support finding Team Tournaments where the team has been registered as a participant, but no leaders have joined yet?

USE CASE:
As a team leader on Lichess,
I would like to know which Arena Team tournaments were created
and do not have a leader assigned
So I can be proactive and add them in case others in my team want to join.

@ornicar
Copy link
Collaborator

ornicar commented Dec 18, 2024

It's not straightforward. The tournament mongodb document would need an additional denormalized field to store invited team ids; that field would need to be indexed for efficient querying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants