BlueTracker

Bluetracker
Volver al Bluetracker

Missing data from recipe endpoint

API Discussion

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;
    }
}
Araspir
04-05-2020 21:04:55

We’re looking into adding a crafted_quantity field to recipes, along with a minimum and maximum quantity, if applicable. :slight_smile:

Fuente

Completar Registro

Política de cookie (EU)

BlueTracker

Back to Top

Log In

Or with username:

Forgot password?

Don't have an account? Register

Forgot password?

Enter your account data and we will send you a link to reset your password.

Your password reset link appears to be invalid or expired.

Log in

Privacy Policy

To use social login you have to agree with the storage and handling of your data by this website.

Add to Collection

No Collections

Here you'll find all collections you've created before.