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
ChieftainAlex
@ChieftainAlex
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
darthmaim
@darthmaim
What did you find difficult?
Just so we can document it for future devs
Silver Golden
@Silveress_Golden_gitlab
just the idea of it
Nothing to documented other than Silver is hard headed
darthmaim
@darthmaim
:D
Silver Golden
@Silveress_Golden_gitlab
now I am trying to figure out how to use it myself in my own project
hmmm so in essence this change would allow Daniel to change id to ID or itemID and not effect any currently running stuff
darthmaim
@darthmaim
yes
Silver Golden
@Silveress_Golden_gitlab
for me the hard par was reaslising that different folks could get different answers for teh same quyestion
darthmaim
@darthmaim
*at different times
(or at least with schemas from a different time)
Silver Golden
@Silveress_Golden_gitlab
yes
darthmaim
@darthmaim
thats the important part
Silver Golden
@Silveress_Golden_gitlab
which is freeing for both sides of teh dev process
Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

Bug with /cats
by Illconceived Was Na.9781 in API Development

The API for the Hungry Cat Scavenger Hunt appears to be bugged.
(see also: https://en-forum.guildwars2.com/discussion/72532/api-key-for-hungry-cat-scavenger-hunt)

I have the all but the Shattered Observatory Cat in my home instance and yet the API shows I'm missing the WvW ones and the Holokitty.
https://api.guildwars2.com/v2/account/home/cats

Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

Items with ingredients, but no recipe
by Reanne.5462 in API Development

I am trying to compile a cost of items to craft, For example a Grow Lamp. Which uses Charged Quartz Crystals as an ingredient. But that item does not have a price.

I would like acquire the next ingredient down that has a Price attached to it. In this case that would be Quartz Crystals.
Where in the API is there a connection between Charged Quartz Crystals and the ingredient for them, Quartz Crystals?

Daniel Snider
@dsnider-anet
API Updates:
  • Added /v2/worldbosses and /v2/account/worldbosses
  • Added /v2/dailycrafting and /v2/account/dailycrafting
  • Added /v2/mapchests/ and /v2/account/mapchests
  • Added /v2/account/luck
Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

API Updates - April 8
by (ArenaNet) Daniel Snider.6241 in API Development

Hello all,

I recently posted about some internal changes I made to how API content is managed. Some of the fruits of that labor are here in the form of some new endpoints.

First, I've added the world boss clears and map chests to the API so you (or your tools) can keep track of those daily rewards.

Also, I've added daily crafting progress to the API, which is helpful for keeping tabs on the daily cooldowns.

Finally, I added account luck to the API. The schema is weird due to the way its stored internally, but if it causes too much trouble, please let me know so I can modify it to something more sensible.

Silver Golden
@Silveress_Golden_gitlab
/v2/account/luck
WOOOOOOOOOT