Showing Posts For roj.1085:

Some endpoints i'd like.

in API Development

Posted by: roj.1085

roj.1085

It’s always the the same amount though, right? Each story, no matter your choices? I might not be reading the chart right, but if so, a character’s personal story can just be an array of ids, no?

Then the /story and /story/seasons can fill in the details…

Although it looks like your choices are chapters, so maybe there also needs to be a /story/chapters endpoint… in which case the character’s array is a list of chapter ids. and story chapters provides a list of those.

Then using character info, you can piece together a full list of titles or a progress bar or whatever.

Fetch only a few achievements at a time?

in API Development

Posted by: roj.1085

roj.1085

I don’t know if you’ve noticed, but since I started this (my first) API project, every bug or request I’ve had has been met with immediate action.

Either I am the puppetmaster (low probability) or you are excellent support.

Thanks much, all API Team.

Fetch only a few achievements at a time?

in API Development

Posted by: roj.1085

roj.1085

Hello,

I was looking at some inefficient bits of my codebase this morning, and noticed a spot where I could get some gains were I able to get something less than an account’s full achievement list. (I’m already caching, so this wouldn’t be HUGE, but..)

Is it on the list/desired to have the ability to add, say, ids to the account/achievements endpoint? Or a search-by-id?
Other useful searchables might be done v. partials and achievement category (the latter I could rig on my own with id, above).

Would anyone else have a use for this?

Additions

in Guild Wars 2 Discussion

Posted by: roj.1085

roj.1085

Heh. I agree as well, though I don’t know as putting them in the API would help.
You should put this out in main game discussion, where more people will see it and talk about it!

Some endpoints i'd like.

in API Development

Posted by: roj.1085

roj.1085

Ha, I just asked about the same thing on your last point, story.*

I hadn’t thought about exploration in such fine detail; you can track which maps are complete and which aren’t by achievements, but you’re probably doing that now and annoyed at it.

Likewise, you can cobble together that first list from achievements; I’m actually currently doing this, you can look at the achievement for twilight arbor (twilight’s idol) and the part of it with ‘story’ in the name is the story. Just displaying the ‘Dungeons’ achievement category gets you halfway there, admittedly with cruft since dungeon frequenter and dungeon master are in that category.

*The search box on this forum doesn’t work for me… is it that I’m using Chrome?

Fetch user story progress

in API Development

Posted by: roj.1085

roj.1085

Hey,

My guildmates and I would like to quickly compare everyone’s story progress. My strategy would be to fetch and compare everyone’s applicable living world chapter progress achievements, but I’d need to maintain this list myself.

i.e. APIKey 1 has achievement the Confessor’s Stronghold achievement (id: whatever, YOU look it up), so I know she’s done with out of the shadows on at least one character. APIKey 2 does not, so I know they’re further back in the story and I would parse for additional hard-coded ids. Each chapter release, I’d need to look up the names of the story points that award an achievement in the game UI, then find that in the achivement API, and write down that list of IDs in order. Not AWFUL, but what am I, a caveman? I have computers for this sort of thing.

Am I missing something? Is there a clear story progress indicator that you can tease out of character or achievements?

Possible to get current dye?

in API Development

Posted by: roj.1085

roj.1085

Hello,

I don’t see current color/dye information in the stuff I can currently fetch for character and inventory data, and I don’t see anything in the wiki docs. Is it possible to fetch current colors?

Seems to be ‘no’, but I thought I’d ask here so I can make sure I didn’t miss anything, find out why not, and see if it’s planned for the future.

Thanks,
roj

API errors & bugs

in API Development

Posted by: roj.1085

roj.1085

This item shows up when I call the account inventory (shared inventory) endpoint:
https://api.guildwars2.com/v2/account/inventory?access_token=myAccessToken
This is what I get back:
[{"id":78599,"count":1,"binding":"Account"}]

However:
https://api.guildwars2.com/v2/items/78599
result:
{"text":"no such id"}

It’s the HoT Level 80 boost, which SHOULD be
https://api.guildwars2.com/v2/items/78586

So, uh. What do I do about that, aside from hard coding a catch?

Edit: spelling and also! I think we’ve found it. I currently have the item active on a warrior sitting in the Silverwastes. So that’s the version of the item that’s in use... why is THAT not in the API?

(edited by roj.1085)