Summary
Add arena and rated battleground ratings to the PvP section of the player detail page. Currently only honor level is shown (#21).
Why separate from #21
The PvP summary endpoint (/pvp-summary) doesn't always return bracket ratings. Each bracket has its own endpoint:
GET /profile/wow/character/{realm}/{name}/pvp-bracket/2v2
GET /profile/wow/character/{realm}/{name}/pvp-bracket/3v3
GET /profile/wow/character/{realm}/{name}/pvp-bracket/rbg
Each returns rating, season win/loss counts, and weekly stats.
Implementation
- Add
getCharacterPvPBracket(realm, name, bracket) to battlenet_character.php
- Fetch all 3 brackets in
on_player_detail_display() (cached 1h)
- Display rating + W/L record per bracket in the PvP section
Depends on
Summary
Add arena and rated battleground ratings to the PvP section of the player detail page. Currently only honor level is shown (#21).
Why separate from #21
The PvP summary endpoint (
/pvp-summary) doesn't always return bracket ratings. Each bracket has its own endpoint:GET /profile/wow/character/{realm}/{name}/pvp-bracket/2v2GET /profile/wow/character/{realm}/{name}/pvp-bracket/3v3GET /profile/wow/character/{realm}/{name}/pvp-bracket/rbgEach returns rating, season win/loss counts, and weekly stats.
Implementation
getCharacterPvPBracket(realm, name, bracket)tobattlenet_character.phpon_player_detail_display()(cached 1h)Depends on