Skip to content

Documentation


Documentation / @blizzard-api/d3 / recipe

Function: recipe() ​

recipe(artisanSlug, recipeSlug): object

Defined in: d3/src/artisan-and-recipe/index.ts:22

Returns the recipe information for the specified artisan and recipe slugs.

Parameters ​

artisanSlug ​

Artisans

The slug of the artisan.

recipeSlug ​

string

The slug of the recipe.

Returns ​

The recipe resource. See RecipeResponse.

_responseType? ​

optional _responseType?: RecipeResponse

Internal

The response type of the resource

namespace? ​

optional namespace?: BlizzardNamespaces

parameters? ​

optional parameters?: Record<string, unknown>

path ​

path: string

The request path. Dynamic path segments should be encoded with encodeURIComponent.