Table of Contents

Class RecipesClient

Namespace
GuildWars2.Hero.Crafting.Recipes
Assembly
GW2SDK.dll

Provides query methods for recipes, recipe search, recipes learned by characters and recipes unlocked account-wide.

public sealed class RecipesClient
Inheritance
RecipesClient
Inherited Members

Constructors

RecipesClient(HttpClient)

Initializes a new instance of the RecipesClient class.

Methods

GetLearnedRecipes(string, string?, MissingMemberBehavior, CancellationToken)

Retrieves the IDs of all recipes that a character has learned. This includes autolearned recipes, discovered recipes and account-wide unlocked recipes for which the required crafting level is reached. This endpoint is only accessible with a valid access token.

GetRecipeById(int, MissingMemberBehavior, CancellationToken)

Retrieves a recipe by its ID.

GetRecipesBulk(MissingMemberBehavior, int, int, IProgress<BulkProgress>?, CancellationToken)

Retrieves all recipes by chunking requests and executing them in parallel.

GetRecipesBulk(IEnumerable<int>, MissingMemberBehavior, int, int, IProgress<BulkProgress>?, CancellationToken)

Retrieves recipes by their IDs by chunking requests and executing them in parallel. Supports more than 200 IDs.

GetRecipesByIds(IEnumerable<int>, MissingMemberBehavior, CancellationToken)

Retrieves recipes by their IDs.

GetRecipesByIngredientItemId(int, MissingMemberBehavior, CancellationToken)

Retrieves all recipes that require the specified ingredient.

GetRecipesByIngredientItemIdByPage(int, int, int?, MissingMemberBehavior, CancellationToken)

Retrieves a page of recipes that require the specified ingredient.

GetRecipesByOutputItemId(int, MissingMemberBehavior, CancellationToken)

Retrieves all recipes for creating the specified output item.

GetRecipesByOutputItemIdByPage(int, int, int?, MissingMemberBehavior, CancellationToken)

Retrieves a page of recipes for creating the specified output item.

GetRecipesByPage(int, int?, MissingMemberBehavior, CancellationToken)

Retrieves a page of recipes.

GetRecipesIndex(CancellationToken)

Retrieves the IDs of all recipes.

GetRecipesIndexByIngredientItemId(int, CancellationToken)

Retrieves the IDs of all recipes that require the specified ingredient.

GetRecipesIndexByOutputItemId(int, CancellationToken)

Retrieves the IDs of all recipes for creating the specified output item.

GetUnlockedRecipes(string?, CancellationToken)

Retrieves the IDs of all recipes that were unlocked account-wide by learning a recipe sheet. These recipes are automatically learned by characters once they reach the required crafting level. This endpoint is only accessible with a valid access token.