These are chat archives for arenanet/api-cdi

31st
May 2018
Jason M.
@json-m
May 31 2018 01:27
First, having "live" data like current map, isn't feasible due to the API caching system (5 minutes) <- is api really cached for 5min?
Archomeda
@Archomeda
May 31 2018 01:29
by default yes
there are exceptions, like wvw, where real time data is required
Jason M.
@json-m
May 31 2018 01:40
ah, ok - thats why i was asking actually
i did start reading the wvw api but im getting some weird results, not sure if its a problem of my side or theirs.. need to log responses for a while and see https://i.imgur.com/yEeaRa0.png
Archomeda
@Archomeda
May 31 2018 03:22
hmm, well the wvw kills statistic has always been a bit wonky
but this is kinda odd 🤔
what is does this data represent actually? all wvw kills across all matches?
how are you requesting the matches if that's the case?
not sure why the preview for that is huge
Jason M.
@json-m
May 31 2018 03:51
anyway, i'm just sending it all to graphite and looking at it in grafana
Jason M.
@json-m
May 31 2018 04:29
i also noticed the api is behind on kills, last i looked when ingame my server was some 1300~ kills ahead of what the api was showing
Werdes
@werdes
May 31 2018 06:29
The ingame stats and the api stats come from different sources. The api one is basically a log parser. I asked lye once about the chances of tapping the ingame source for the api, but i think he never got around looking into it.
Also the api has really odd priority issues, leading to stats not being updated for up to some hours even (compare http://kills.werdes.net ). These issues started with the aws migration last year. The API only gets its data now once there is free professing power in the system that can be atteivuted to the log thingy, but the whole thing has a fairly low priority so it may happen only once every few minutes/hours
*processing power (thanks gitter for not letting me edit on mobile )
Archomeda
@Archomeda
May 31 2018 13:24
the thing i can quickly see that can be optimized, is that you don't have to request all the individual matches
most endpoints are bulk expandable, just like this one: https://api.guildwars2.com/v2/wvw/matches?ids=all
@werdes that website looks awesome!
and yeah, lye has mentioned that the wvw servers emit events that contain the stats, but sometimes certain events are not emitted and thus the api doesn't know about them
Archomeda
@Archomeda
May 31 2018 13:29
ingame is (as far as i know) accurate
(oh, i found #519 for the reason why kdrs is not working :P)
Archomeda
@Archomeda
May 31 2018 13:35
#417 should have some insight in the updating issue
lye never got around it since he wouldn't know what he would be doing with the backend servers if he did
@werdes do you happen to know if the server links have been correct recently? apparently #584 is still open, but to me it seems a bit outdated right now
Werdes
@werdes
May 31 2018 13:43
@Archomeda i haven't seen any errors there lately. occasionally they emit garbage at the exact point of relink, but even that hasn't happened in a long time. should be fine now.
Archomeda
@Archomeda
May 31 2018 13:43
last relink was a month ago
i guess we'll see what happens at the end of june :/
Werdes
@werdes
May 31 2018 13:44
i'm talking about months here :smile:
Archomeda
@Archomeda
May 31 2018 13:44
oh, right
Werdes
@werdes
May 31 2018 13:45
everything should be fine, there haven't been any problems the last few relinks
Archomeda
@Archomeda
May 31 2018 13:45
@apoch candidate for closure then for the time being: #584
Werdes
@werdes
May 31 2018 13:48

@werdes that website looks awesome!

thanks for the compliment, but the amount of salt it generates inside a community is enormous so i don't propagate that link too much :sweat_smile:

Archomeda
@Archomeda
May 31 2018 13:49
urgh, yeah i understand
most vocal wvw players are very sensitive
i still have the idea of creating 2 general wvw discord servers for when the world restructuring goes live
with a bot that handles everything
however, I don't want to moderate all that wvw shit
Jason M.
@json-m
May 31 2018 13:53
there are some wvw discords already
they are about how you would expect
imagine the old matchup threads x100 worse
thats a nice site @werdes ! @Archomeda i actually didn't realize i could query all matches in 1 endpoint, i'll make changes for that and expand on some other endpoints this weekend probably. i wanted to create a site that basically recreated the "by the numbers" infographics that the devs were posting a few years ago
Archomeda
@Archomeda
May 31 2018 13:57
good luck! :+1:
and yeah, it's that reason why i haven't joined any public wvw discords
people just trashtalking about/to each other for no good reason
there's literally 0 discussion
i might be naive, but the reason why i think that having 2 regional wvw discord servers is a good thing, is that it allows people to meet up faster when new servers are being made every 8 weeks
a bot that manages the new channels is way faster than people manually setting up servers on their own, or configuring their ts server properly
Archomeda
@Archomeda
May 31 2018 14:02
i feel that whenever the world restructuring update goes live, a lot of people will be confused
last time i worked on it (which was 3 months ago), it looked like this (okay, gitter is slow with uploading an image...)
image.png
that's just general channel creation
oh wtf gitter
don't upload it twice :<
Jason M.
@json-m
May 31 2018 15:04
i just started learning python and i've needed something to work with as i learn things, so i picked the gw2 api to play with. figured this would be a decent starter project for me.
and yeah agreed -- i hope they have api stuff planned too for the wvw restructure :)
pretty cool bot
i assume you sign in your with api key to be assigned to permissions for your respective server/matchup?
Archomeda
@Archomeda
May 31 2018 15:24
that's the idea yeah
currently it doesn't do much more than syncing matchups :P
Jason M.
@json-m
May 31 2018 15:26
ah neat
Archomeda
@Archomeda
May 31 2018 15:26
and yeah, they've said they want to update the api whenever the world restructuring goes live
but i'm certain the world restructuring is many months away
Jason M.
@json-m
May 31 2018 15:27
yeah, same. i am actually not expecting anything this year, but we will see :)
keeping my expectations in check heh
Archomeda
@Archomeda
May 31 2018 15:27
:D
interesting, gitter has apparently been updated to not autoconvert emojis anymore :(
Jason M.
@json-m
May 31 2018 15:28
thats ok, i prefer non-emoji anyway myself
darthmaim
@darthmaim
May 31 2018 15:28
gitter updated :O
Archomeda
@Archomeda
May 31 2018 15:28
i wish they would finally add the latest emojis and delete the custom ones
custom as in, their own ones to replace the unicode variants
darthmaim
@darthmaim
May 31 2018 15:29
must be the first change since gitlab
Archomeda
@Archomeda
May 31 2018 15:29
/shrug
Quaggan BooOOoot
@QuagganBooOOoot
May 31 2018 15:29
¯\_(ツ)_/¯
Archomeda
@Archomeda
May 31 2018 15:30
i swear there's only 1 person maintaining it in their own time
Jason M.
@json-m
May 31 2018 15:31
from my limited use of it that is also the impression i get
ChieftainAlex
@ChieftainAlex
May 31 2018 16:56
:fire: :fire_engine: there's only two emojis necessary in this chat anyway.
Archomeda
@Archomeda
May 31 2018 16:58
hahaha
Werdes
@werdes
May 31 2018 18:56
apparently :slight_smile: exists since 09/05/2018
Yes, that was intended... 🤔
Archomeda
@Archomeda
May 31 2018 19:08
it's funny how the original issue was created because the auto conversion of :) was to :smile: which seemed way too smiley
and then in another issue they disabled the auto conversion all together :')
Daniel Snider
@dsnider-anet
May 31 2018 22:17
I've given out a bunch of those
Archomeda
@Archomeda
May 31 2018 22:18
:P
this one is thanks to the druid charr from the stream right now :D
darthmaim
@darthmaim
May 31 2018 22:18
they are playing on eu?
Archomeda
@Archomeda
May 31 2018 22:18
currently yes
Daniel Snider
@dsnider-anet
May 31 2018 22:18
They alternate every week
darthmaim
@darthmaim
May 31 2018 22:18
ah didn't even know that
nice
Daniel Snider
@dsnider-anet
May 31 2018 22:19
I was on the stream a while back. I didn't do so well, haha
Archomeda
@Archomeda
May 31 2018 22:19
they are on Elona Reach / Miller's Sound this week
:smile:
i don't do much wvw either anymore, so i'll probably die a lot of times as well
darthmaim
@darthmaim
May 31 2018 22:21
huh, I'm on ER too
never did much wvw though
!rank
Quaggan BooOOoot
@QuagganBooOOoot
May 31 2018 22:21
Oooo, @darthmaim. Your WvW rank is Raider (14).
Archomeda
@Archomeda
May 31 2018 22:21
rip
!rank
Quaggan BooOOoot
@QuagganBooOOoot
May 31 2018 22:21
Oooo, @Archomeda. Your WvW rank is Silver Recruit (819).
Daniel Snider
@dsnider-anet
May 31 2018 22:21
!rank
Quaggan BooOOoot
@QuagganBooOOoot
May 31 2018 22:21
Noooo @dsnider-anet! Quaggan doesn't have your API key yet. Use !auth <API-Key> to link your API key.
Oah! Quaggan couldn't connect to the GW2 Api (Error: Status 403).
Daniel Snider
@dsnider-anet
May 31 2018 22:22
=)
Eearslya Sleiarion
@Eearslya
May 31 2018 22:22
!rank
Quaggan BooOOoot
@QuagganBooOOoot
May 31 2018 22:22
Oooo, @Eearslya. Your WvW rank is Silver Recruit (815).
Archomeda
@Archomeda
May 31 2018 22:22
what
i have more than you now?
Eearslya Sleiarion
@Eearslya
May 31 2018 22:22
I haven't touched WvW in about a year
and on a funny note, I got my "Conquer the Creator" from @lye totally on accident
we were sparring in the jumping puzzle, and he was wiping the floor with me
I had no chance
but he decided to swap to a different class...and when he logged out, I got the achievement XD
Archomeda
@Archomeda
May 31 2018 22:23
lol
seems legit
oh wow, livestream actually has 230 viewers :O
Jason M.
@json-m
May 31 2018 23:26
how do i link myself with this bot?
!rank
Quaggan BooOOoot
@QuagganBooOOoot
May 31 2018 23:26
Noooo @json-m! Quaggan doesn't have your API key yet. Use !auth <API-Key> to link your API key.
Oah! Quaggan couldn't connect to the GW2 Api (Error: Status 403).
Jason M.
@json-m
May 31 2018 23:26
ah
darthmaim
@darthmaim
May 31 2018 23:26
you can pm it the API key too
Jason M.
@json-m
May 31 2018 23:27
what kind of key?
just account?
darthmaim
@darthmaim
May 31 2018 23:27
uhh
not sure actually
Jason M.
@json-m
May 31 2018 23:27
lets try
!auth A8DDBF6E-179A-E649-887B-B9A7D66554154CAC8B86-18BE-4F4C-8FCA-5847124B874F
Quaggan BooOOoot
@QuagganBooOOoot
May 31 2018 23:27
Coo @json-m! Quaggan knows you are Darius Glazkov.9750 now. It's so exciting!
Jason M.
@json-m
May 31 2018 23:27
!rank
Quaggan BooOOoot
@QuagganBooOOoot
May 31 2018 23:27
Foo! @json-m! The API key doesn't have the required permissions.
darthmaim
@darthmaim
May 31 2018 23:28
I guess I implemented a error message for that :smile:
I think you need progression?
Archomeda
@Archomeda
May 31 2018 23:28
i gave it account, characters, progression, pvp and unlocks, not sure which these ones are required for rank :smile:
Jason M.
@json-m
May 31 2018 23:28
i was trying account+progression next
!auth 7B200501-771C-2D47-9E9B-68F13A68740554E82EE7-1F44-4FB1-8099-FB98B91FAAA7
Archomeda
@Archomeda
May 31 2018 23:29
that would be the best bet
Quaggan BooOOoot
@QuagganBooOOoot
May 31 2018 23:29
Coo @json-m! Quaggan knows you are Darius Glazkov.9750 now. It's so exciting!
Jason M.
@json-m
May 31 2018 23:29
!rank
Quaggan BooOOoot
@QuagganBooOOoot
May 31 2018 23:29
Oooo, @json-m. Your WvW rank is Platinum Knight (3375).
Jason M.
@json-m
May 31 2018 23:29
neat