Request for /pvp/games and /pvp/stats

Request for /pvp/games and /pvp/stats

in API Development

Posted by: sookya.8625

sookya.8625

Hello Lawton,

I’ve a short question for the two endpoints /pvp/games and /pvp/stats:

/pvp/stats:
Is there a possibility to get some Info about progress in the actual (and perhaps last?) ladder (the division and tier for example, it’s not necessary for me to know the exact points in a tier)

/pvp/games:
Can you please add a field for arena-type (ranked / unranked) and perhaps the ladder progression (how much pips the person lost/won in this game).

That would be great! Thank you

Greetings
Chris

Moona @Kodash[DE]
GuildWars2 sPvP-Tracker: http://www.gw2pvp.de
Tradingpost in your Pocket: http://www.tp2go.de

Request for /pvp/games and /pvp/stats

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

Next

As a note, I probably won’t be able to get to more pvp stuff this year (which means it won’t be ready by the end of the league) — busy with guild stuff and bugfixes — but adding new features is something that I want to start on soon. Since it’s probably going to involve changes that get pretty far from my usual domain I’m estimating like a month of work to get all the bits and pieces I want out of the game server and into the API.

/pvp/stats:
Is there a possibility to get some Info about progress in the actual (and perhaps last?) ladder (the division and tier for example, it’s not necessary for me to know the exact points in a tier)

So, the leagues are all data-driven, so we’re going to need a new endpoint like /pvp/leagues that dumps out the names, how many pips are required, rules, and pip images and stuff. After that, getting the user’s current league standing is pretty straightforward.

/pvp/games:
Can you please add a field for arena-type (ranked / unranked) and perhaps the ladder progression (how much pips the person lost/won in this game).

Yep, definitely something I’m going to look into adding. I’m actually kind of surprised that the ladder isn’t included in that endpoint already >_>

Request for /pvp/games and /pvp/stats

in API Development

Posted by: Hvaran.6327

Hvaran.6327

would be great to see more then 10 last games (last 100 games) so we could check our actuall progression over the week etc.

0/

Handarand – Handacooon – Handa Panda – Handa Genie

Request for /pvp/games and /pvp/stats

in API Development

Posted by: sookya.8625

sookya.8625

First of all: Thank you for this answer Lawton. It’s good to hear, that there are some other things planned for pvp-endpoints. So I’ve just to wait to get new data delivered by the API some time next year (hopefully early 2016 )

@Hvaran:
Why more than 10 games? There is no need for it. You just have to fetch the game-data regulary and store it locally (in a database for example, excel, etc…)

Moona @Kodash[DE]
GuildWars2 sPvP-Tracker: http://www.gw2pvp.de
Tradingpost in your Pocket: http://www.tp2go.de

Request for /pvp/games and /pvp/stats

in API Development

Posted by: Nabrok.9023

Nabrok.9023

Some other pvp stuff I’d like to see …

  • In /pvp/games include information on if it was with a guild team, and which one (guild id + team name).
  • Statistics on guild teams as shown in the guild panel (likely would require guild leader + guilds permission)
  • Unauthenticated endpoint listing top 1,000 in guild challenger league.
“I’m not a PvE, WvW, or PvP player – I am a Guild Wars 2 player”
Tarnished Coast – Dissentient [DIS]
All classes

Request for /pvp/games and /pvp/stats

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Next

would be great to see more then 10 last games (last 100 games) so we could check our actuall progression over the week etc.

I know it’s suboptimal for a lot of use-cases, but this is highly unlikely to change. You’re going to have to poll the endpoint periodically and store the data locally (or use a site to do it — I’ve been using gw2pvp.de).

Some other pvp stuff I’d like to see …

  • In /pvp/games include information on if it was with a guild team, and which one (guild id + team name).
  • Statistics on guild teams as shown in the guild panel (likely would require guild leader + guilds permission)
  • Unauthenticated endpoint listing top 1,000 in guild challenger league.

Seems reasonable. Here’s a github issue so I don’t forget to do this — again it won’t be ready for the current league, but hopefully it will for the next.

Request for /pvp/games and /pvp/stats

in API Development

Posted by: Mysticjedi.6053

Mysticjedi.6053

^^^^^^^^^^^

This would be wonderful to see. I would also like to see player ranks before the match and I would like to know the system’s estimated percentage chance of my team winning, the number of points I need to get a pip, and all other information of that ilk in the details tab. I hate guessing as to why I lost a pip or won a pip.

Request for /pvp/games and /pvp/stats

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Next

This would be wonderful to see. I would also like to see player ranks before the match and I would like to know the system’s estimated percentage chance of my team winning, the number of points I need to get a pip, and all other information of that ilk in the details tab. I hate guessing as to why I lost a pip or won a pip.

To be entirely clear; I’m not changing anything in-game, just adding additional data to the public API. I’ll ask about exposing the matchmaker’s predictions but I’m not certain that’s something I can expose (since we’re not exposing MMR values, I’d assume we wouldn’t expose a value that would you to derive your raw MMR).

Request for /pvp/games and /pvp/stats

in API Development

Posted by: sookya.8625

sookya.8625

(or use a site to do it — I’ve been using gw2pvp.de).

Woah.. i’m honoured

Moona @Kodash[DE]
GuildWars2 sPvP-Tracker: http://www.gw2pvp.de
Tradingpost in your Pocket: http://www.tp2go.de

Request for /pvp/games and /pvp/stats

in API Development

Posted by: sookya.8625

sookya.8625

Oh, by the way, I forgot to ask in my first post: I’ve asked you a few weeks ago about the Character-ID in the games-api. There is only the profession listed, but if someone has more than 1 character of this profession. Beside this, I’ve asked for team-roster (both sides, with professions they played). Is this still on your list Lawton? That would be awesome

Greetings and ahead of the upcoming holidays: merry christmas!
Chris

Moona @Kodash[DE]
GuildWars2 sPvP-Tracker: http://www.gw2pvp.de
Tradingpost in your Pocket: http://www.tp2go.de

Request for /pvp/games and /pvp/stats

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Next

Oh, by the way, I forgot to ask in my first post: I’ve asked you a few weeks ago about the Character-ID in the games-api. There is only the profession listed, but if someone has more than 1 character of this profession. Beside this, I’ve asked for team-roster (both sides, with professions they played). Is this still on your list Lawton? That would be awesome

Yeah it is; the roster information isn’t current stored by the matchmaking server, so it’s gonna take some work to plumb all that data through. It’s definitely on the list though.

Greetings and ahead of the upcoming holidays: merry christmas!
Chris

Thanks, you too!

Request for /pvp/games and /pvp/stats

in API Development

Posted by: sookya.8625

sookya.8625

Hey Lawton,

/pvp/games:
Can you please add a field for arena-type (ranked / unranked) and perhaps the ladder progression (how much pips the person lost/won in this game).

Yep, definitely something I’m going to look into adding. I’m actually kind of surprised that the ladder isn’t included in that endpoint already >_>

do you have any ETA for the ladder type? Would be super awesome to realize some ideas I have in my mind..

Moona @Kodash[DE]
GuildWars2 sPvP-Tracker: http://www.gw2pvp.de
Tradingpost in your Pocket: http://www.tp2go.de

Request for /pvp/games and /pvp/stats

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Next

do you have any ETA for the ladder type? Would be super awesome to realize some ideas I have in my mind..

Hmm, looks like ladder type is actually available from the backend I’m talking to. I’ll look into exposing that early next month (as well as some other things). Can’t make any guarentees on per-game pip changes, though exposing the current season standings is on the todo list.

Request for /pvp/games and /pvp/stats

in API Development

Posted by: sookya.8625

sookya.8625

Thanks for your answer Lawton! The Ladder-Type would be awesome for the moment (sometimes the small things are such things which makes you smile )

Moona @Kodash[DE]
GuildWars2 sPvP-Tracker: http://www.gw2pvp.de
Tradingpost in your Pocket: http://www.tp2go.de

Request for /pvp/games and /pvp/stats

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Next

Here’s the proposed endpoint changes for the rating_type (ladder type? not sure what the optimal name is) and some other misc. stuff. Will probably turn it on next week, let me know if you’ve got any feedback before then!

Request for /pvp/games and /pvp/stats

in API Development

Posted by: sookya.8625

sookya.8625

Hi Lawton,

Seems reasonable. In preparations for this update i've namend my database-field "arenatype" (because of ranked, unranked and custom arena ) but rating_type or ladder_type would be totally okay too

So you will roll out the /pvp/season endpoint too? That’s a nice additional information. I think that the division/points of a player will not be added in /pvp/stats with this update? (or i missread/overseen some posts at github PR, I’m not that familiar with the PullRequest-Feature on Github sorry.)

Have a nice day,
Chris

Moona @Kodash[DE]
GuildWars2 sPvP-Tracker: http://www.gw2pvp.de
Tradingpost in your Pocket: http://www.tp2go.de

Request for /pvp/games and /pvp/stats

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Next

I think that the division/points of a player will not be added in /pvp/stats with this update? (or i missread/overseen some posts at github PR, I’m not that familiar with the PullRequest-Feature on Github sorry.)

That’s correct, the current division/pips of a player will not be added to /v2/pvp/stats until later (the backend support for that won’t land until the next game release). I’m hoping to get the rating_type and /v2/pvp/seasons endpoint out sometime next week.

Request for /pvp/games and /pvp/stats

in API Development

Posted by: sookya.8625

sookya.8625

Hey Lawton,

any News on this?

Greetings

Moona @Kodash[DE]
GuildWars2 sPvP-Tracker: http://www.gw2pvp.de
Tradingpost in your Pocket: http://www.tp2go.de

Request for /pvp/games and /pvp/stats

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Backend support should be in, but I’ve been out sick all week so I haven’t been able to get anything done. I’m doing a deploy today (which includes frontend support for some of those additions) but I’ll probably waffle until next week before turning it on.

Request for /pvp/games and /pvp/stats

in API Development

Posted by: sookya.8625

sookya.8625

Oh, i hope you are well now. Thank you for the info

Have a nice weekend!

Moona @Kodash[DE]
GuildWars2 sPvP-Tracker: http://www.gw2pvp.de
Tradingpost in your Pocket: http://www.tp2go.de

Request for /pvp/games and /pvp/stats

in API Development

Posted by: sookya.8625

sookya.8625

Woho, I’ve seen that you deployed this feature – my scripts are fetching the arena-type. Thank you very much

Moona @Kodash[DE]
GuildWars2 sPvP-Tracker: http://www.gw2pvp.de
Tradingpost in your Pocket: http://www.tp2go.de