WebAPI:Teams

From Starsonata Wiki
Revision as of 18:32, 14 June 2018 by Si (talk | contribs)

Jump to: navigation, search

Returns a list of all player teams.

Response

Returns an array teams keyed by team ID. Each team has the following attributes.

  • teamID - The ID of the team used all over the website and api endpoints. Can be used to retrieve the team flag or the team web page.
  • name - The team name.
  • totalscore - The current total score of a team.
  • member_count - The current number of characters on a team.

Note: totalscore and member_count will likely be missing on inactive teams.