WoW:API GetArenaTeam: Difference between revisions

m
Move page script moved page API GetArenaTeam to WoW:API GetArenaTeam without leaving a redirect
(→‎Details: Updated details)
m (Move page script moved page API GetArenaTeam to WoW:API GetArenaTeam without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
Requests information regarding the arena team that the player is in, see Returns for a full list of what this returns.
Requests information regarding the arena team that the player is in, see Returns for a full list of what this returns.


  teamName, teamSize, teamRating, teamPlayed, teamWins, playerPlayed, teamRank = GetArenaTeam(teamIndex);
  teamName, teamSize, teamRating, weekPlayed, weekWins, seasonPlayed, seasonWins, playerPlayed, seasonPlayerPlayed, teamRank, playerRating = GetArenaTeam(id);


== Parameters ==
== Parameters ==
Line 20: Line 20:
:;seasonWins : Integer - Total games that the team has played this season
:;seasonWins : Integer - Total games that the team has played this season
:;playerPlayed : Integer - Total games that the player has played this week
:;playerPlayed : Integer - Total games that the player has played this week
:;teamRank : Integer - Current ranking the team is, this is typically updated when arena points calculate
:;seasonPlayerPlayed : Integer - Total games that the player has played this season
:;teamRank : Integer - Teams current ranking, this is updated once a week typically when points are calculated
:;personalRating : Integer - Players personal rating with this team
:;background (red) : Float - Amount of red in the teams banner background
:;background (red) : Float - Amount of red in the teams banner background
:;background (green) : Float - Amount of green in the teams banner background
:;background (green) : Float - Amount of green in the teams banner background
Anonymous user