Method GetStoredBuild
- Namespace
- GuildWars2.Hero.Builds
- Assembly
- GW2SDK.dll
GetStoredBuild(int, string?, MissingMemberBehavior, CancellationToken)
Retrieves the build in the specified storage number on the account. This endpoint is only accessible with a valid access token.
public Task<(Build Value, MessageContext Context)> GetStoredBuild(int storageNumber, string? accessToken, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
storageNumber
intThe number of the storage space to fetch.
accessToken
stringAn API key or subtoken.
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.
Returns
- Task<(Build Value, MessageContext Context)>
A task that represents the API request.