API GetPVPRankInfo

Returns information about a specific PvP rank. rankName, rankNumber = GetPVPRankInfo(rankID [, faction])

Arguments

 * rankID : number - The PvP rank ID as returned by
 * faction : number (optional) - 0 for Horde, 1 for Alliance. Defaults to the player's faction. Previously accepted a UnitId but now takes a faction ID.

Returns

 * rankName : string - The localized name of the PvP rank.
 * rankNumber : number - The PvP rank number.

Values
Dishonorable ranks like "Pariah" exist but were never used in Vanilla.