Method GetLearnedRecipes
- Namespace
- GuildWars2.Hero.Crafting.Recipes
- Assembly
- GW2SDK.dll
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.
public Task<(HashSet<int> Value, MessageContext Context)> GetLearnedRecipes(string characterName, string? accessToken, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
characterName
stringA character name that belongs to the account associated with the access token.
accessToken
stringAn API key or subtoken.
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.