Skip to content

PvP Leaderboards missing #177

Open
Open
@oliv-tree

Description

@oliv-tree

Hey,

Both /data/wow/pvp-season/{pvpSeasonId}/pvp-leaderboard/index and /data/wow/pvp-season/{pvpSeasonId}/pvp-leaderboard/{pvpBracket} seem to be missing

Activity

benweier

benweier commented on Jan 13, 2024

@benweier
Owner

Hey @oliv-tree, the PVP Season API is currently available on the retail client but not on the classic client. Checking the documentation it does look like it is supported by the classic game data APIs now so I may need to add this to the lib

oliv-tree

oliv-tree commented on Jan 13, 2024

@oliv-tree
Author

Hey @oliv-tree, the PVP Season API is currently available on the retail client but not on the classic client. Checking the documentation it does look like it is supported by the classic game data APIs now so I may need to add this to the lib

Again this was my bad, however I think the implementation is quite confusing. I.e., how you would reach the code for each of these is not very clear from the docs/types.

let leaderboardIndex = await wowClient.pvpSeason({
  id: 36,
  resource: "leaderboard",
})
let leaderboard = await wowClient.pvpSeason({
  id: 36,
  bracket: "shuffle-demonhunter-havoc",
  resource: "leaderboard",
})
let season = await wowClient.pvpSeason({
  id: 36,
})
let seasonRewards = await wowClient.pvpSeason({
  id: 36,
  resource: "reward",
})
benweier

benweier commented on Jan 14, 2024

@benweier
Owner

I agree it's not as clear as it could be and there's an opportunity here to improve the documentation

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @benweier@oliv-tree

        Issue actions

          PvP Leaderboards missing · Issue #177 · benweier/blizzard.js