Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API GetInspectArenaData

From Wowpedia
Jump to: navigation, search

Returns the inspected unit's rated PvP stats.

rating, seasonPlayed, seasonWon, weeklyPlayed, weeklyWon = GetInspectArenaData(bracketId)

Arguments

bracketId 
Number - rated PvP bracket to query, ascending from 1 for 2v2, 3v3, and 5v5 arenas, and Rated Battlegrounds respectively.

Returns

rating 
Number - inspected unit's current personal rating in the specified bracket.
seasonPlayed 
Number - number of games played in the bracket during the current season.
seasonWon 
Number - number of games won in the bracket during the current season.
weeklyPlayed 
Number - number of games played in the bracket during the current week.
weeklyWon 
Number - number of games won in the bracket during the current week.

Details

Patch history

Mists of Pandaria Patch 5.4.0 (2013-09-10): Added, replaced GetInspectArenaTeamData.