Showing Posts For sookya.8625:

API Key Invalid

in API Development

Posted by: sookya.8625

sookya.8625

Update: Should be fixed now. Thank you Pat

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

API Key Invalid

in API Development

Posted by: sookya.8625

sookya.8625

Seems to be fixed since a few minutes – my backendscripts running without BadData-Errors now! yay!

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

Was coding until {"text":"ErrBadData"} :'C

in API Development

Posted by: sookya.8625

sookya.8625

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

API Key Invalid

in API Development

Posted by: sookya.8625

sookya.8625

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

API Key Invalid

in API Development

Posted by: sookya.8625

sookya.8625

Problem was fixed after first patch, but the second (the hotfix) broke it again

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

New endpoints: more PvP-related goodies

in API Development

Posted by: sookya.8625

sookya.8625

Yeah – thank you lawton Seen it yesterday and implemented it. Thank you very much.

2 Questions:
- Is it possible to add start/end date/time of the seasons (i.e. Season 2 from Feb 23th to April 18th).
- Is there any chance that the /v2/pvp/games api delivers pips won/lost per game? Otherwise I have to calculate this by my own…

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

(edited by sookya.8625)

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

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

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

Frequency of queries

in API Development

Posted by: sookya.8625

sookya.8625

Hi Kyle,

afaik there is no limitation for queries. But it’s no good programming style to flood the api. Try to cache the data as long as it is possible and fetch the data as often as it’s necessary :-). Keep in mind, that an API-Call uses some time (to connect, fetch, disconnect, etc.) and try to use some API-specific options (e.g. ids=all and pagination) to call the api less often.

Greetings
Chris

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

API connectivity problem?

in API Development

Posted by: sookya.8625

sookya.8625

Hey Lawton,

seems that the hickups are gone. There are no more 503-errors on my backend-scripts. Horray!

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

API connectivity problem?

in API Development

Posted by: sookya.8625

sookya.8625

Hi Lawton,

thanks for letting me/us know. I’ve checked the Backend-Logs: Service temporary unavailable just one minute ago But it could be that it needs some time to settle down…

Greetings
Chris

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

API connectivity problem?

in API Development

Posted by: sookya.8625

sookya.8625

Hey Lawton,

serveral times today i got “HTTP 503. Service unavailable” when i call the (pvp) API-Endpoint(s). That’s not at every call but every 2nd to 3rd call throws this error since at least this morning (since about 8 – 10 hours). Are there any new restrictions atm to call the api just x times / minute? Or is it just a connectivity/loadbalancer-/server-problem?

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: 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: 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: 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

pvp_rank_points in /pvp/stats?

in API Development

Posted by: sookya.8625

sookya.8625

yiha! I will get a closer Look later this day and implement it

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

pvp_rank_points in /pvp/stats?

in API Development

Posted by: sookya.8625

sookya.8625

Last time i’ve checked the APIs, there was not such a rollover counter yet. I think we will see this not before the end of the actual season (26. January). Hopefully we will see some small changes after this date… fingers crossed

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

PvP Pips!

in API Development

Posted by: sookya.8625

sookya.8625

I already did such a request (except the “exact pip number”) about a month ago :p

https://forum-en.gw2archive.eu/forum/community/api/Request-for-pvp-games-and-pvp-stats

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

pvp_rank_points in /pvp/stats?

in API Development

Posted by: sookya.8625

sookya.8625

Yay!
Thank you!

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

pvp_rank_points in /pvp/stats?

in API Development

Posted by: sookya.8625

sookya.8625

Hey Lawton,

i’ve seen that there is a new value returning in the /pvp/stats-api: pvp_rank_points. I was playing a little bit around and wanted to try out, if i can calculate the “real” rank between first hitting rank 80 and “now”. But the pvp_rank_points value just moves between 1091500 (Rank 79) and 1111500 (Rank 80, +- a small amount of points). Seems that the game just “resets” the rank-points to 1091500 (completed Rank79) when you complete Rank80.

As a result of this, there is no possibility to calculate the “real” rank (aka: how much times i’ve completed rank 80) or is there another field in your internal data counting how often a person completet rank80? Would love to see that value in the api-result.

Happy Holidays
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: 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: 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

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: 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

Flipped values for PvP Bye/Desertions?

in API Development

Posted by: sookya.8625

sookya.8625

“Bye” is when somebody on opposing team disconnects and you win. “Desertion” is when somebody on your team disconnects and you lose.

Afaik this is wrong. When I’ve worked with the API a few weeks ago to get the pvp-stats-tool working, I’ve googled around to get the right explanations for the terms. So that is, what I’ve got/found and seems to be right (in context of the API):

Bye = You won, one or more enemies left the team before the match ended
Forfeit = You loose, one or more of your teammates left the team before the match ended
Desertion = You left the game before the match ended.

As I’ve seen in some matches, if you get a disconnect (or more disconnects) and come back a whole time later (1 – 2 minutes or so) it counts as Desertion, even If you were on the map at the end of the match.

For the whole matches I’ve played since tracking my data, I got no Desertion (I didn’t leave matches :-) expect on dc) and the other match-details (and aggregated numbers) seems correct to me. But I can only speak for my few matches (~20 the last days over the weekend).

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

PvP stats of the last 100 matches

in PvP

Posted by: sookya.8625

sookya.8625

Now you can use https://www.gw2pvp.de/web/ – the pvp API endpoint is in its infancy, but it’s a good start.

Thanks for the advertisement :-)
A short hint: At this point, the Tool fetches all the Games played since using gw2pvp.de – The GW2-API only delivers the last 10 games played (only in ranked/unranked!), so the past detail-data is “lost” so far. The personal statistics generated from your games contains all matches you played that are in the gw2pvp.de – database. So there is no filter to get “statistics over last 10/50/100 games”. But it’s a nice feature – I will think about how to implement this.

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

New endpoints: pvp and char specializations

in API Development

Posted by: sookya.8625

sookya.8625

Whoops, that should be posted with my main-account -.- Sorry

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

(edited by sookya.8625)

New endpoints: pvp and char specializations

in API Development

Posted by: sookya.8625

sookya.8625

Hey Lawton,

is it possible to add the Character ID (next to profession) to the PVP-Game-API? With only having the profession, there is no possibility to check with which character the person played, if he has more than one character per profession (2 guards for example).

That would be super cool

Greetings
Chris

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

Error with tokeninfo endpoint

in API Development

Posted by: sookya.8625

sookya.8625

Can confirm it too. It deleted my key when calling api-endpoints and there is no possibility to create a new.. (“Error”). Hope this will be fixed asap, no API is usable for now.

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