Table of Contents

Class AccountClient

Namespace
GuildWars2.Hero.Accounts
Assembly
GW2SDK.dll

Provides query methods for a player account and characters that belong to the account.

public sealed class AccountClient
Inheritance
AccountClient
Inherited Members

Constructors

AccountClient(HttpClient)

Initializes a new instance of the AccountClient class.

Methods

GetCharacterByName(string, string?, MissingMemberBehavior, CancellationToken)

Retrieves the details of a character that belongs to the account associated with the access token. This endpoint is only accessible with a valid access token.

GetCharacterSummary(string, string?, MissingMemberBehavior, CancellationToken)

Retrieves a short summary of a character that belongs to the account associated with the access token. This endpoint is only accessible with a valid access token.

GetCharacters(string?, MissingMemberBehavior, CancellationToken)

Retrieves the details of all characters that belong to the account associated with the access token. This endpoint is only accessible with a valid access token.

GetCharactersByNames(IEnumerable<string>, string?, MissingMemberBehavior, CancellationToken)

Retrieves the details of characters that belongs to the account associated with the access token. This endpoint is only accessible with a valid access token.

GetCharactersIndex(string?, CancellationToken)

Retrieves all character names that belong to the account associated with the access token. This endpoint is only accessible with a valid access token.

GetLuck(string?, MissingMemberBehavior, CancellationToken)

Retrieves the total amount of luck consumed on the account associated with the access token. This endpoint is only accessible with a valid access token.

GetProgression(string?, MissingMemberBehavior, CancellationToken)

Retrieves information about purchased Fractal augmentations and luck on the account associated with the access token. This endpoint is only accessible with a valid access token.

GetSummary(string?, MissingMemberBehavior, CancellationToken)

Retrieves information about the account associated with the access token, for example the account name, age, guild participations and so on. This endpoint is only accessible with a valid access token.