Skip to content

Arena bracket ratings (2v2, 3v3, RBG) on player detail page #23

Description

@avandenberghe

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

  1. Add getCharacterPvPBracket(realm, name, bracket) to battlenet_character.php
  2. Fetch all 3 brackets in on_player_detail_display() (cached 1h)
  3. Display rating + W/L record per bracket in the PvP section

Depends on

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions