Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 30 2019 11:45
    Tolkyria commented #646
  • Jan 30 2019 11:44
    Tolkyria commented #646
  • Jan 16 2019 14:09
    patrickboesch starred arenanet/api-cdi
  • Jan 16 2019 03:23
    isand3r starred arenanet/api-cdi
  • Dec 09 2018 14:11
    queicherius commented #567
  • Dec 05 2018 16:57
    apoch closed #433
  • Dec 05 2018 16:57
    apoch commented #433
  • Dec 05 2018 16:53
    wafflebot[bot] unlabeled #527
  • Dec 05 2018 16:53

    apoch on master

    /v2/pvp/seasons: add .ranks. Merge pull request #535 from ar… (compare)

  • Dec 05 2018 16:53
    apoch closed #535
  • Dec 05 2018 16:53
    apoch closed #527
  • Dec 05 2018 16:45

    apoch on master

    add missing name tag to /v2/rac… Merge pull request #609 from Th… (compare)

  • Dec 05 2018 16:45
    apoch closed #609
  • Dec 04 2018 19:18
    darthmaim commented #640
  • Dec 04 2018 18:17
    apoch commented #640
  • Dec 04 2018 09:43
    darthmaim commented #640
  • Dec 03 2018 17:50
    Aonwy unlabeled #640
  • Dec 03 2018 17:49
    Aonwy closed #640
  • Dec 03 2018 17:47
    Aonwy labeled #645
  • Dec 01 2018 18:36
    strigefleur edited #645
Werdes
@werdes
Also i cannot scroll anymore on the mobile version.
Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

Daily Achievements wrong
by Schlabbi.6352 in API Development

When I query the daily achievements (today), I will also get `{
"id": 1932,
"level": {
"min": 80,
"max": 80
},
"required_access": [
"GuildWars2",
"HeartOfThorns",
"PathOfFire"

Archomeda
@Archomeda
Holy crap that bug has been there for more than a year now :(
Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

Inconsistency in Guild Upgrades API
by Kenogu.3640 in API Development

I'm noticing some odd behaviour in Guild Upgrades. Pinging this endpoint repeatedly, I get two different-sized payloads each time. Might be some sort of sharding issue?

https://api.guildwars2.com/v2/guild/upgrades?ids=129,130,156,167,176,180,182,204,290,303,308,322,354,366,368,381,415,424,428,440,443,444,451,486,504,520,524,605,610,622,638,756,765,782

Daniel Snider
@dsnider-anet
API Updates:
  • Several endpoints under v2/account and v2/characters now return a Last-Modified header. They respect If-Modified-Since requests and will properly return a 304 Not Modified.
  • v2/account, v2/characters/:id (and related) now have a last_modified field, but only requested with a recent enough schema version (to prevent app breakage).
  • Schema versions can be requested with a v query param or an X-Schema-Version request header.
  • Schema versions are comparable strings that happen to be ISO 8601 datetimes which means string compares are chronological.
fetch('https://api.guildwars2.com/v2/account', {headers: {
    'X-Schema-Version': "2019-02-21T00:00:00Z",
    'Authorization': "Bearer ABC123"}
}).then((r) => r.json()).then((data) => console.log(data));
Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

Item Stats Info
by Jude Carpathian.2389 in API Development

Is there a way in the api to check against the itemstats returned to see what stats are pve only or pvp only? I feel like there should be flags on them that specify. Currently I'm only requesting stats I know are in PVE, but I'd like a process that works when new stat sets are added or Pvp stats are brought to Pve etc.

Silver Golden
@Silveress_Golden_gitlab
danm thats fantastic daniel, now to figure out how to best use it :3
Not good
cmon gitter inline the tweet
ptolstoi
@ptolstoi
I hope its not the reason why daniel released the change :/ anyway thanks all the devs for your time you put into gw
Ryan Mast
@nightlark
Tweet summary: ANet layoff removes 2/3 of the web team, including lead
JamEngulfer
@JamEngulfer
Oh god
I haven't been here in ages, how long has Lawton Campbell been gone?
Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

Treasury entries limited in the guild/log endpoint.
by Keroak.5192 in API Development

Why can i only see a few of the treasury entries in the guild/log endpoint and all of the other types?

ChieftainAlex
@ChieftainAlex
"upgrades_into": [ { "upgrade": "Infusion", "item_id": 49370 } ]
seems new?
darthmaim
@darthmaim
nope, has been there for some time
Flomix
@Flomix
What exactly changes the "last_modified" field of the /account endpoint? Can it be used to correct the broken /account/raids endpoint? That would be sweet
darthmaim
@darthmaim
Everytime something is written on the account, last_modified is updated
It can be used to ignore /account/raids if last_modified is before the last reset
Because setting the progress for a raid also sets last_modified
Flomix
@Flomix
so when last_modified is a week ago I can be sure that the user did not log in since then?
darthmaim
@darthmaim
Yes
If last_modified is before the reset, you can be sure the raid progress is from before reset
(well there might be some caching issues for a few minutes right around reset)
Flomix
@Flomix
cool :-) I can dump quite a lot of workarounds then to fix that issue :D
Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

Current state of the GW2 API (March 2019)
by Killerassel.2197 in API Development

It's been a few month since this question has been asked. And now after the dust after the layoffs last month has (mostly?) settled, I'd like to ask it again.

In November Daniel Snider stated, that the API is still valued and worked on. He also offered to post updates to the forum to at least communicate that the API is still alive.

This hasn't happened. API development looks as dead as it has for a long time. :( Last commit to github (api-cdi) was 3 months ago.

And since the company has recently shrunk and had to reorder their priorities I'm afraid the API could have fallen off the end of the priority list.

So, again I question: what is the current state of the API? Is it still worked on? If so: only bugfixes or is it still worthwhile to suggest features?*

Daniel Snider
@dsnider-anet
API Updates:
  • v2/nodes has moved to v2/home/nodes for consistency. The old endpoint is still available.
  • v2/cats has moved to v2/home/cats for consistency. The old endpoint is still available.
  • v2/account/home/nodes now contains all home instance nodes including the garden plots.
  • v2/account/home/cats has an updated schema that is consistent with other similar endpoints (try v2/account/home/cats?v=latest to see the latest schema)
Daniel Snider
@dsnider-anet
I've changed some stuff under the hood to make portions the API easier to maintain. With that comes a bunch of new code. With that comes some fresh bugs (probably). Please let me know if any of the recently changed endpoints act funky
Archomeda
@Archomeda
:+1:
Silver Golden
@Silveress_Golden_gitlab
+1
Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

API updates - March 22 2019
by (ArenaNet) Daniel Snider.6241 in API Development

Hello all,

I have been making some recent changes to the way that API content is updated that allows more developers into the process. The goal is to make missing data (such as nodes) less frequent. As such, the nodes list is updated and has been moved to a new url (more details below).

With these changes comes new code and potentially new bugs especially with having the new code mimic the way the old API works, so if you find any bugs or inconsistencies, I'd love to hear about them.

Also, in order to make it easier to tell if daily/weekly progress has been reset (e.g. raid clears), I've added last_modified to account and character endpoints. This removes the need to poll & store the account age field (which allows serverless apps to monitor progress properly).

Finally, I've introduced schema versions for updated endpoints. The motivation is to prevent breaking existing apps while still allowing the API to be modified without fear. Find more details on how to use them below.

Daniel Snider
@dsnider-anet
API Updates:
  • Properly respond with 404 Not Found for missing ids from static endpoints.
  • Fixed a bug that prevented the icon field from showing on mount skins.
Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

API updates - March 27 2019
by (ArenaNet) Daniel Snider.6241 in API Development

Hello all,

Some users of the API have already come to me with bugs in the recently released code. Thank you so much!

While refactoring the code to handle parsing IDs from urls and query params, I introduced a bug that caused any hiccup to report a 400 HTTP status code (instead of, say, a 404), which broke a few apps. Oops!

Also, some of the mount skin code modifications I added inadvertently mutated cached data. This caused the icon link to only show during the first request after a cache invalidation (i.e. pressing F5 deleted the icon link from the mount skin for a few minutes).

These are small but I wanted to make sure to include these changes on the forum.

Edward Jones
@Throne3d
I really appreciate these in-depth changelogs, thank you!
Daniel Snider
@dsnider-anet
:)
Werdes
@werdes
:+1:
ptolstoi
@ptolstoi
@dsnider-anet I have more 404s for you: https://output.jsbin.com/cehawur (files) and https://output.jsbin.com/xusuwiz (elite-specs)
darthmaim
@darthmaim
yep, thats the render server for you, keeps happening every few weeks
Silver Golden
@Silveress_Golden_gitlab
It took a little to get my head around the schgema but now I have its not abd at all