These are chat archives for arenanet/api-cdi

3rd
Mar 2016
windwarrior
@windwarrior
Mar 03 2016 00:14
Well if you would whitelist items that have been forged once some people cannot like discover it themselves
I think the MF is designed to be a bit mysterious in its output
see for example the batwings, I think multiple people discovered that and got the thrill of discovery together :)
Edgar Doiron
@Coffee4cr
Mar 03 2016 13:39
happy @lye day everyone!
yay
Nabrok
@Nabrok
Mar 03 2016 18:25
Have a good vacation?
yeah, got a 46 witch woot
Edgar Doiron
@Coffee4cr
Mar 03 2016 18:28
a what?
@codemasher so technically mystic forge recipes do have ids, I just don't want to expose them via API for the following reasons:
  • The rule of thumb is that the API shouldn't expose data not already available (in some way) in-game -- and we don't list mystic forge recipes anywhere.
  • Mystic forge recipes aren't even in the client .dat file (they're only on the server), so doubly so the above.
  • A lot of mystic forge recipes (e.g., all the promotion ones) have basically a hard-coded drop table (which I presume was generated at some point) that's hundreds of entries long and gross.
  • Some other mystic forge recipes (that have alternative input options) are duplicated for each possible input option (e.g., unopened/opened batwing brew). Gross.
But mostly the first two reasons.
There was a long discussion on the forums a year or so ago where people raised issues about publishing discovered mystic forge recipes immediately (and how that limits market opportunity -- which is important for subsidizing mystic forge research). I didn't want to come up with an arbitrary time between initial discovery and publishing. I think it's better left to the wiki.
Can probably revisit that decision at some point (and set the time between discovery and publishing to be like a month), but I don't really want to open too many cans of worms.
smiley
@codemasher
Mar 03 2016 18:33
thanks for your reply, @lye, will forward it to Relyk!
what about that item he mentioned which is apparently missing in the API?
Uhh I missed that bit, let me re-read
smiley
@codemasher
Mar 03 2016 18:33
Dynamic Tempered Spinal Blades (Infused)
oh the dynamic tempered spinal blades (infused)?
I'll see if I can dig that up and get it whitelisted
smiley
@codemasher
Mar 03 2016 18:33
yea
that'd be cool! i'll ask him about the other items which he thinks are missing.
Eearslya Sleiarion
@Eearslya
Mar 03 2016 18:36
@lye liiives
Pat Cavit
@tivac
Mar 03 2016 18:37
@codemasher you playing telephone w/o someone unwilling to join gitter/file issues is pretty funny
smiley
@codemasher
Mar 03 2016 18:38
it's sad because he has a github account >.<
windwarrior
@windwarrior
Mar 03 2016 18:39
issues by proxy
smiley
@codemasher
Mar 03 2016 18:39
but copy/paste between here and #gww doesn't bother me much either :D
whitelisted 50053, should appear in ~5 minutes
smiley
@codemasher
Mar 03 2016 19:00
:+1:
smiley
@codemasher
Mar 03 2016 20:01
omg, android + usb otg is fun. usb stick gets autodetected & mounted. but don't ever forget to unmount before unplug >,<

Anyway, going through the stuff I missed.

/v2/pvp/standings/:id just gives the full season listing, not just the id specified (same as with no id).

@Nabrok this is by design; that endpoint isn't bulk-expanded. I should update the documentation to reflect that.
Nabrok
@Nabrok
Mar 03 2016 20:04
ok
The idea is that there's, what, 4 seasons/year and our pagination default is 50 items? So I just defaulted it to ?ids=all since that'll work for the next decade or so
Not sure if that was the correct design decision but eh.
Nabrok
@Nabrok
Mar 03 2016 20:05
Well, I did this ...
```
                                gw2.request('/v2/pvp/standings/'+g.season, userData.api_key, function(err, season) {
                                    if (err) return next(err);
                                    if (Array.isArray(season)) {
                                        season = season.filter(function(s) { return (s.season_id === g.season); })[0];
So should be ok
either way
@darthmaim this might be a silly question, but out of curiosity, do the forums support dumping the posts' unprocessed textile bodies?
darthmaim
@darthmaim
Mar 03 2016 20:09
no idea
@Nabrok yeah that's workable. I'd consider changing it a bit to just use /v2/pvp/standings and always assume it's an array, because it's probably not going to change at this point.
wait so where'd you get those patch note dumps? are they deprocessed from HTML -> markdown?
darthmaim
@darthmaim
Mar 03 2016 20:10
nope, quoting the post
oh. sneaky.
darthmaim
@darthmaim
Mar 03 2016 20:11
but as @codemasher said, they are already processed a little at that point
so not really raw
and since they are in mod only topics (update notes), you have to get the permalink and add /quote to the url
I wonder if I can get release management to add the build id to each set of patch notes :/
That way they can be correlated against /v2/build
smiley
@codemasher
Mar 03 2016 20:17

@darthmaim this might be a silly question, but out of curiosity, do the forums support dumping the posts' unprocessed textile bodies?

pretty sure the forum doesn't. any text seems to run through the parser before storage.

it's not even possible to get the raw source via editing own posts
Oh, @lye, speaking of which :point_up: 2. März 2016 23:33
IIRC the patch notes get gathered up froma couple of sources and sent via email to the community team for localization and formatting, which then gets posted/edited/etc.
But it's not ever in a machine-readable form, persay.
smiley
@codemasher
Mar 03 2016 20:25
in the way it gets posted on the forums? or is that up to the people who do actually post?
Pat Cavit
@tivac
Mar 03 2016 20:25
there's a textile version put together before posting
it's in an email
I just don't keep the email
fair.
we could always give the API an exchange account.
one step closer to sentience
Edgar Doiron
@Coffee4cr
Mar 03 2016 20:27
lol
smiley
@codemasher
Mar 03 2016 20:27
in case you happen to receive one of those malis, would you be so kind and think of me, yes? :)
(the textile thing was my initial request, as i want to write a textile preparser for my bbcoder, so that i'm able to transcode bbcode->markdown->mediawiki)
Edgar Doiron
@Coffee4cr
Mar 03 2016 20:27
like the one for next Tuesday perhaps?
:)
Patch Notes
  • Made patch notes available via gitter.
Edgar Doiron
@Coffee4cr
Mar 03 2016 20:28
haha
  • 5 days in advance
smiley
@codemasher
Mar 03 2016 20:29
oh, realtime connection lost for 5 min, and now i have a lot of posts out of order :D
windwarrior
@windwarrior
Mar 03 2016 20:35
yeah make an API so that I can see what next weeks raid is about :>
just killed Sabetha yday, so I am ready!
</sarcasm>
Nabrok
@Nabrok
Mar 03 2016 20:36
I've only managed VG :(
smiley
@codemasher
Mar 03 2016 20:36
a POST API for API issues
codemasher @codemasher hides
Edgar Doiron
@Coffee4cr
Mar 03 2016 20:37
I still haven't beaten VG :(
POST /v2/raids/progress HTTP/1.1
Content-Type: application/json
Authorization: Bearer DLSFKJSDF-sdFLDJSF

{
  "id" : 12,
  "rewards" : "yes please",
  "guild_tag" : "LOD",
  "clear_time" : "6m12s"
}
Nabrok
@Nabrok
Mar 03 2016 20:38
Only managed it once, 2 weeks ago, and last week we had some new people so it didn't work out. Next try is tonight though.
Edgar Doiron
@Coffee4cr
Mar 03 2016 20:39
omg, raid time clear would be amazing
Get to work @lye !
haha
windwarrior
@windwarrior
Mar 03 2016 20:39
note the POST
Let me promise you the world
windwarrior
@windwarrior
Mar 03 2016 20:39
dont reject your promise tho
darthmaim
@darthmaim
Mar 03 2016 20:39
world.then(...)
windwarrior
@windwarrior
Mar 03 2016 20:39
:')
smiley
@codemasher
Mar 03 2016 20:39
Response {"message":"At least I have chicken!"}
See, this seems too reasonable to use for an april fool's joke
smiley
@codemasher
Mar 03 2016 20:41
thehe
Nabrok
@Nabrok
Mar 03 2016 20:43
@lye did you also see the questions about an empty pip icon and the start/end dates for seasons?
darthmaim
@darthmaim
Mar 03 2016 20:43
start/end dates: #240
beat me to it
darthmaim
@darthmaim
Mar 03 2016 20:44
;)
I didn't put an issue in for the empty pip resource -- I'm not sure there is one.
I meant to dig around the UI code to see how the ones I exposed are used but didn't get around to it >_>
Nabrok
@Nabrok
Mar 03 2016 20:45
I just did var offset = division_points % 7; ... don't think that's how the game does it, but it works.
I just have empty spaces for unearned pips at the moment though
(this was just coincidentally posted recently... XD)
Edgar Doiron
@Coffee4cr
Mar 03 2016 20:54
sometimes I feel like someone out there reads everything I type
AKA Google
Nabrok
@Nabrok
Mar 03 2016 20:55
probably 80-90% of the issues reported to me are "such and such isn't working". Half the time the solution is to read the error message and do what it says.
The humans will not stare at each other until they die anymore.
what a goldmine
smiley
@codemasher
Mar 03 2016 21:05
strange log is brilliant :D
i guess you can manage to get in there too ;P
Pat Cavit
@tivac
Mar 03 2016 21:05
yes I <3 it
we've had a few, I tweeted one about whales forever ago
smiley
@codemasher
Mar 03 2016 21:06
heh
it feels like a lot of these are from DF
smiley
@codemasher
Mar 03 2016 21:07
seems like wildstar is under their radar. their patch notes are fun too!
the sit-jump would have been a candidate for the strange log :D
good times back then
windwarrior
@windwarrior
Mar 03 2016 21:18
smiley
@codemasher
Mar 03 2016 21:19
yea, one of my xkcd faves :D
along with this https://xkcd.com/1530/ (which is basically me)
(except that i wonder about myself: how did i manage to get that letter in there!?)
omg, idea! i need a [xkcd] bbcode!
windwarrior
@windwarrior
Mar 03 2016 21:31
I was surprised gitter didnt like detect it
smiley
@codemasher
Mar 03 2016 21:58
xkcd bbcode :D chillerlan/bbcode@7b429a7