Skip to content

Add API support for teams feature #11955

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

Open
minusQuantumNeko opened this issue Feb 28, 2025 · 4 comments
Open

Add API support for teams feature #11955

minusQuantumNeko opened this issue Feb 28, 2025 · 4 comments
Labels

Comments

@minusQuantumNeko
Copy link

I'll explain how I personally would want to use that, as nanaya asked here: https://discord.com/channels/188630481301012481/188630616286167041/1345047913570635776

Basically, I have a tool to get teams flag, header, name and acronym (and if I want - member count) which I use to make stats sheets for Teams, and to help GMT moderate them (I check names and all that stuff for things that definitely need to be reported, and report them on web). But right now that's only possible by either manually changing ID in URL, which would drive me insane, or scraping pages with a script, which I'm aware peppy doesn't like, hence why proper API would be amazing to have.

I'm sure there can be other use cases, but personally I just need some way to request team basic/full data by its ID. By basic I mean things like name, acronym, probably header and flag images too, while full would also give team members list.

@peppy peppy added the type:api label Mar 4, 2025
@diquoks
Copy link

diquoks commented Mar 6, 2025

Yeah, I also need this to display next to the player info in one of my projects, so it would really be needed.

@peppy
Copy link
Member

peppy commented Mar 6, 2025

Yeah, I also need this to display next to the player info in one of my projects, so it would really be needed.

Teams should already be being conveyed alongside user information. Which endpoint are you using?

@diquoks
Copy link

diquoks commented Mar 6, 2025

Which endpoint are you using?

I'm using the correct endpoint, don't worry, I meant that I would also need the extended information about teams, because clicking on the team flag will open the info about the team. With my comment I only wanted to support the issue, but not to make you check something again, peppy :)

@EngineerMark
Copy link

I'm hoping to see something akin to the /users endpoint, like /teams, that provides team data for given (max 50?) team ids.
Having them give the user data would be great, even if it's just a user_id array (and the owner as a seperate field?)

And perhaps a /teams/{team_id} endpoint that gives the full team object, tho I wouldnt mind seeing all data being given by list response already, but I understand if theres performance concerns ^^

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

No branches or pull requests

4 participants