Get WvW rank of map?
Devata.6589:
Maybe I overlooked something, but I can’t find a total score or rank of a world.
Only from the current match, is there a way to get to overall score, or rank of a world?
Lawton Campbell.8517:
Not currently, no.
darthmaim.6017:
You could parse https://leaderboards.guildwars2.com/de/na/wvwmain until there is a dedicated API endpoint for that available.
Reincarnated.1754:
I use API:1/wvw/matches — “wvw_match_id”: “2-2”
The last number I take as being the Rank/Tier the world is in.
Lawton Campbell.8517:
I use API:1/wvw/matches — “wvw_match_id”: “2-2”
The last number I take as being the Rank/Tier the world is in.
Match IDs are formatted as “%d-%d” % (datacenter, virtual shard id). I’m under the impression that the virtual shard id just happens to match up with the tier — an unexpected feature — because of how the matchmaking bits work.
Devata.6589:
You could parse https://leaderboards.guildwars2.com/de/na/wvwmain until there is a dedicated API endpoint for that available.
It did cross my mind to get it this way, but I rather wait untill the Api does provide it, it’s just a minor detail (for my usage) anyway.
I use API:1/wvw/matches — “wvw_match_id”: “2-2”
The last number I take as being the Rank/Tier the world is in.
I noticed the second number would indeed work as tier, but it’s the rank I was looking for.
—
Nonetheless, thanks for wanting to help find a solution.