API and boxes of recipes

API and boxes of recipes

in API Development

Posted by: Anhim.3156

Anhim.3156

Hiya,

I’m not sure if this issue extends further than just the “boxes of recipes” items but these are the only ones I’ve found so far. At the moment, there are items in game (such as the Box of Recipes: The Ravenswood Staff) which are recipe ‘sheets’ used to unlock multiple recipes at once. This one in particular will unlock 3 items. The problem here though is that if you look at the “API entry” for the box of recipes it only shows one recipe id instead of 3.

The shown recipe id in this case refers to the one used for the Ravenswood Staff. It seems like the general rule in the API will be that only the ‘primary’ recipe is shown and the other ones are just lost.

For reference, the recipe id for Jar of Luminesce Polish is 10296, an entry which is not referenced at all in the recipe item page.

I’ve gone through most (if not all) the recipe pages and not found a reference to such ‘secondary’ items.

I’m certain this isn’t a high priority to get sorted out, but is there in the mean time a way to figure out what all the items unlocked by a recipe box are, or is this simply not possible with the current system?

If I’ve just missed something evident, I would be more than happy to have it pointed out to me.

API and boxes of recipes

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

Next

Investigated this a bit; the fix is actually pretty complicated. I’m not sure if/when I’ll be able to fix it, unfortunately, nor do I have a workaround in the short-term. I’ve made a tracking issue on github for this.

API and boxes of recipes

in API Development

Posted by: Anhim.3156

Anhim.3156

Alright, thanks for looking into this!

API and boxes of recipes

in API Development

Posted by: Sariel V.7024

Sariel V.7024

This is weird, because the API DID list the secondary recipe ids. They had their own field which is no longer showing up.

API and boxes of recipes

in API Development

Posted by: Sariel V.7024

Sariel V.7024

Or maybe those boxes just never had that info added. Take a look at this one:

https://api.guildwars2.com/v2/items/75724

API and boxes of recipes

in API Development

Posted by: Anhim.3156

Anhim.3156

Huh, so I guess some entries are just missing the info, https://api.guildwars2.com/v2/items/76762 (ravenswood staff) definitely only has one crafted ID.

Thanks for the info Sariel, I imagine this is a good place to start (and hopefully help those API folks ).

API and boxes of recipes

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

The fix should go out with the next release (e.g. the next patch that is not a hotfix). It takes awhile to push changes through the pipeline is all.