Greetings, it’s superb that there is a recipe endpoint now.
I’ve finally gotten the time to start to implement it into my application now and I feel like there is one piece of data that is important that is missing. How many items are created from the recipe and what profession/source it originates from.
I do not see a reason why this is not a part of it. Could be in the form of this if it is not the same quantity all the time:
{
...,
creates_item: {
...,
minCount: 5,
rate: 7.9
maxCount: 10,
}
}
or this for those who have a set number of created items per craft:
{
...,
creates_item: {
...,
count: 5
}
}
There is no information about how many a recipe creates. Recipes like K’bab creates 5 items at rank 1, but the API does not indicate this in any way.
Just to be sure, I mapped out all the present keys in all the wow recipes and still. I can’t see anything giving any information about this.
Am I missing something?
Here you have the model I generated from all the recipes:
export interface Recipe {
id: number;
name: object | string;
media: {
id: number;
key: {
href: string;
}
};
_links: {
self: {
href: string;
}
};
reagents: {
reagent: {
id: number;
key: {
href: string;
};
name: object | string;
};
quantity: number;
}[];
crafted_item: {
id: number;
key: {
href: string;
};
name: object | string;
};
description: object | string;
rank: number;
horde_crafted_item: {
id: number;
key: {
href: string;
};
name: object | string;
};
alliance_crafted_item: {
id: number;
key: {
href: string;
};
name: object | string;
}
}