Team
A team registered into one tournament — who leads it, who plays for it, and where it ended up. Teams only exist on a team event; an ordinary tournament has none.
Properties
slugstring- Short name used in the team's web address. Use it to group participants and battles by the team they belong to.
namestring- Team name.
clubstring | null- Slug of the club the team belongs to, or null when it belongs to none. Pass it to the club endpoints.See Club
captain{name, playerId} | null- The person leading the team at this event, with the public player id when they have one. A captain does not have to play, so this can be somebody who never appears as a participant. Null when nobody is set.
players{name, playerId}[]- The playing line-up, each with the public player id when they have one, sorted by name. Only the people who actually play are listed — coaches and a captain who takes no seat are not part of it.
droppedboolean- True when the team left the event partway through. The results it had already played still stand.
finalPlacementnumber | null- Where the team finished, 1 being the winner. Settled once the tournament finishes; null while it is still running, and null for tournaments that finished before we started recording it.
urlstring- Link to the team page on milarki.com.
Example
json
{
"slug": "hammaro-hammers",
"name": "Hammarö Hammers",
"club": "boebbens-club",
"captain": {"name": "Björn Böbb", "playerId": "T91FKD3V"},
"players": [
{"name": "Anders Larsson", "playerId": "L80MTI4R"},
{"name": "Cecilia Berg", "playerId": "M53RTX9F"},
{"name": "Sara Sköld", "playerId": "K21XQ9PB"}
],
"dropped": false,
"finalPlacement": 2,
"url": "https://www.milarki.com/teams/hammaro-hammers"
}