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
Archomeda
@Archomeda
.ToDictionary(x => x.Id) should suffice for c#
Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

how to link PvP sigils and PvP runes?
by icy.9250 in API Development

I was looking at https://wiki.guildwars2.com/wiki/PvP_Build#Sigils and had trouble requesting these sigils and runes.

For example, looking at the Sigil of Absorption(PvP) page, we see it's supposed to have an id of 81266 (hover over "Game link" chat code). The equivalent in PvE has an id of 72872.

request for Sigil of Absorption(PvP): https://api.guildwars2.com/v2/items?id=81266
response:

<pre>{
"text": "no such id"
}</pre>

Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

API Skills activation time ?
by tim.4596 in API Development

Does anyone know how I can get the skill activation time and activation type from the API?

https://api.guildwars2.com/v2/skills?ids=10334

The current API doesn't appear to return any information concerning those two things :(

Ben Lubar
@BenLubar
is there a way to resize item icons to 64x64? I'm trying to use icons as Emoji (curl -H 'Accept: application/activity+json' https://ravenvale.lubar.me/_item/20546/_emoji) but Mastodon won't accept any emoji over 50 kilobytes. Example: https://render.guildwars2.com/file/06DF4AD10F92FDC3AB0EA1D8411038D44758BD52/66654.png
(it also won't accept non-PNG emoji, so I can't switch to the 20 kilobyte jpeg rather than the 60 kilobyte png)
Ben Lubar
@BenLubar
(I'm going to solve this via proxying images based on a list)
Archomeda
@Archomeda
resize icons through the api or by yourself?
there's a lot of third party tools that lets you resize images through the command line, and then there's optipng which allows you to trim the png file more of their metadata
e.g. your example with optipng:
** Processing: 66654.png
256x256 pixels, 4x8 bits/pixel, RGB+alpha
Reducing image to 3x8 bits/pixel, RGB
Stripping metadata...
Input IDAT size = 57664 bytes
Input file size = 57771 bytes

Trying:
  zc = 9  zm = 9  zs = 0  f = 0         IDAT size = 50755

Selecting parameters:
  zc = 9  zm = 9  zs = 0  f = 0         IDAT size = 50755

Output IDAT size = 50755 bytes (6909 bytes decrease)
Output file size = 50812 bytes (6959 bytes = 12.05% decrease)
that's just stripping metadata (and apparently the alpha channel)
however you should cache images then if you decide to host a proxy
Archomeda
@Archomeda
or that ^
i completely forgot you had this running :D
darthmaim
@darthmaim
/shrug
Quaggan BooOOoot
@QuagganBooOOoot
¯\_(ツ)_/¯
darthmaim
@darthmaim
too many projects, even I can't remember all of them
Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

Mirage Thrust daze value set to 0
by tim.4596 in API Development

Mirage thrust daze value set to 0, while IG link claim it to be 0.25s

https://api.guildwars2.com/v2/skills?ids=45230

Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

Request: WvW Skirmish Reward (Pip Count) Current Progress
by Butters.2807 in API Development

Hi there, I'm just curious. Is there any plans to add an endpoint to the API to return the Current Pip progress on the Weekly Skirmish Rewards. Eg "Platinum Chest, 3rd Tier, 5 Pips".
It would be so useful. As i already have a semi-automated spreadasheet that predicts timings for finishing chests and works out how many weeks / hours etc until you can acquire the armor set you want.

Quaggan BooOOoot
@QuagganBooOOoot

Guild aetherium generation information
by Nightgunner.2896 in API Development

This may be a weird request, but would it be possible to add the timestamp of the last aetherium generation tick to guild info?

I noticed in my own guild hall that without any speed upgrades aetherium seems to always generate based on when aetherium capacity was last made available. That is, the capacity upgrade was unlocked at 2019-04-29T04:30:54.000Z (using up all 500/500 aetherium, changing the available capacity from 0 to 1500) and the ticks have been happening every 60 seconds on the :54 of the minute. Before that, the mine was unlocked at 2019-04-28T20:11:29.000Z (changing the available capacity from 0 to 500) and the ticks seemed to be happening around halfway through each minute.

This is technically something that applications could calculate for themselves, but it gets very messy, especially if the guild log doesn't include enough information due to upgrades being done a while ago.

This is the last piece needed to replicate the guild hall upgrade UI on a website.

(Also, just as a side note, some of the early upgrades like ore synthesizer 1 don't seem to require their building even though they do require it ingame.)

Ben Lubar
@BenLubar
https://en-forum.guildwars2.com/discussion/75139/guild-aetherium-generation-information is the forum the wrong place for this kind of request, or is this just not something that has been looked at yet?
Ben Lubar
@BenLubar
@dsnider-anet hopefully this can help you debug the guild treasury endpoint being confused about which upgrades are actually available: https://gist.github.com/BenLubar/10fa65868cc87b3d2efc3cbf9ba870f5
Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

API Updates - May 14 2019
by (ArenaNet) Daniel Snider.6241 in API Development

Hello all,

As of today's patch some backend changes to support the API have gone live. I will be working to bring some of the benefits of those changes over the coming weeks. One of the changes broke the mounts endpoint for several hours today (it is now fixed), but in return all missing mount skins have been added to the API.

Recent API Updates


Here are the changes in list format:

Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

API updates - May 15 2019
by (ArenaNet) Daniel Snider.6241 in API Development

Hello all,

I recently mentioned some backend changes I made that went live with yesterday's patch. As a result I am rolling out some fixes that weren't possible before.

The daily achievements you see in-game are different depending on which expansions you own for that account. Because listing the daily achievements doesn't require an API key, there are flags on each achievement that describe the access requirements for each.

The way those requirements were represented changed at some point in the past to be a bit more complex. I have updated the API to understand the new format and I've bumped the schema version.

Recent API Updates

Flomix
@Flomix
@dsnider-anet why is the consumable unlock type for mount skins "Ms"? I would have assumed "MountSkin", analog to the existing "GliderSkin" or "SharedSlot", that makes the API a bit inconsistent...
darthmaim
@darthmaim
/shrug
Quaggan BooOOoot
@QuagganBooOOoot
¯\_(ツ)_/¯
darthmaim
@darthmaim
those are just constants
Flomix
@Flomix
sure but they should still follow some rule and be not random
Daniel Snider
@dsnider-anet
I don't know, that's the internal representation. I would bet that it was a precaution to prevent data mining leaks back before PoF released.
Flomix
@Flomix
oh okay, I didn't know those values are not defined inside the API but in the game itself.
Quaggan BooOOoot
@QuagganBooOOoot
New discussion in API Development:

New C# Client Library: GW2SDK
by StevenL.3761 in API Development

Hello,

Most probably don't remember me but I used to co-author a C# library that provides an abstraction for the GW2 API. Unfortunately changes in my personal life stopped me from working on it about 5 years ago and the project became no longer maintained. If you check out the NuGet page you can see that the last update was in 2015. And that update was mostly just for bug-fixes...

Rather than attempting to modernize an outdated library that's riddled with design issues (all my fault, of course) and outdated dependencies, I decided to take a fresh stab at it. I created a new Git repo and completely started over, using modern C# and .NET.

This discussion exists for me to find out what people are doing these days:

  • Are you currently using C#?
  • Are you interested in using an API client library written in C#, for C#?
  • Are you interested in collaborating on such a project?
Daniel Snider
@dsnider-anet
@Flomix if you hate it enough, I could rename it (with a schema version bump)
Ben Lubar
@BenLubar
are the item icons broken for anyone else? looks like most of the item icons are failing to load with error messages like {"error":48,"product":0,"module":2,"line":89,"text":"file couldn't be loaded"}
Ben Lubar
@BenLubar
@dsnider-anet the icons that do manage to load on this page seem to be cached for multiple days according to the Age header https://ravenvale.lubar.me/treasury
by the way, if anyone wants the code for accurate-to-the-second aetherium information, here's the mess I made: https://git.lubar.me/lubar-local/ravenvale/src/branch/master/aetherium.go
Flomix
@Flomix
@dsnider-anet oh I do hate it, but only for esthetic reasons :-D I just wondered about the oversight; don't bother to change it, I bet that would break it for some other devs :-D my cache header request in the forum would help me a hell of a lot more, don't know if you have seen it
Ben Lubar
@BenLubar
I'm considering making my own render.guildwars2.com server using whatever tyria2d is based on because it does seem to be using ingame file IDs for the image filenames
Archomeda
@Archomeda
isn't that one just a browser variant of a dat reader?
Ben Lubar
@BenLubar
yeah, but I don't know of any other dat readers that are up to date
Archomeda
@Archomeda
i only know of the library gw2browser uses, which is c++
and then i still have an unfinished one myself for c#