Class GuildsClient
- Namespace
- GuildWars2.Guilds
- Assembly
- GW2SDK.dll
Provides query methods for guilds (permissions, ranks, members, teams, bank, upgrades, logs) and guild emblems.
public sealed class GuildsClient
- Inheritance
-
GuildsClient
- Inherited Members
Constructors
- GuildsClient(HttpClient)
Initializes a new instance of the GuildsClient class.
Methods
- GetCompletedGuildUpgrades(string, string?, CancellationToken)
Retrieves the IDs of completed guild upgrades of a guild by its ID. This endpoint is only accessible with a valid access token and access is restricted to guild leaders.
- GetEmblemBackgroundById(int, MissingMemberBehavior, CancellationToken)
Retrieves an emblem background by its ID.
- GetEmblemBackgrounds(MissingMemberBehavior, CancellationToken)
Retrieves all emblem backgrounds
- GetEmblemBackgroundsByIds(IEnumerable<int>, MissingMemberBehavior, CancellationToken)
Retrieves emblem backgrounds by their IDs.
- GetEmblemBackgroundsByPage(int, int?, MissingMemberBehavior, CancellationToken)
Retrieves a page of emblem backgrounds.
- GetEmblemBackgroundsIndex(CancellationToken)
Retrieves the IDs of all emblem backgrounds.
- GetEmblemForegroundById(int, MissingMemberBehavior, CancellationToken)
Retrieves an emblem foreground by its ID.
- GetEmblemForegrounds(MissingMemberBehavior, CancellationToken)
Retrieves all emblem foregrounds.
- GetEmblemForegroundsByIds(IEnumerable<int>, MissingMemberBehavior, CancellationToken)
Retrieves emblem foregrounds by their IDs.
- GetEmblemForegroundsByPage(int, int?, MissingMemberBehavior, CancellationToken)
Retrieves a page of emblem foregrounds.
- GetEmblemForegroundsIndex(CancellationToken)
Retrieves the IDs of all emblem foregrounds.
- GetGuildBank(string, string?, MissingMemberBehavior, CancellationToken)
Retrieves the guild vault of a guild by its ID. This endpoint is only accessible with a valid access token and access is restricted to guild leaders.
- GetGuildById(string, string?, MissingMemberBehavior, CancellationToken)
Retrieves a guild by its ID. This endpoint is only accessible with a valid access token and the associated account must be a member of the guild.
- GetGuildLog(string, int?, string?, MissingMemberBehavior, CancellationToken)
Retrieves the logs of a guild by its ID, returning only newer logs than the one specified. This endpoint is only accessible with a valid access token and access is restricted to guild leaders.
- GetGuildLog(string, string?, MissingMemberBehavior, CancellationToken)
Retrieves the logs of a guild by its ID. This endpoint is only accessible with a valid access token and access is restricted to guild leaders.
- GetGuildMembers(string, string?, MissingMemberBehavior, CancellationToken)
Retrieves guild members of a guild by its ID. This endpoint is only accessible with a valid access token and access is restricted to guild leaders.
- GetGuildPermissionById(string, Language?, MissingMemberBehavior, CancellationToken)
Retrieves a guild permission by its ID.
- GetGuildPermissions(Language?, MissingMemberBehavior, CancellationToken)
Retrieves all guild permissions.
- GetGuildPermissionsByIds(IEnumerable<string>, Language?, MissingMemberBehavior, CancellationToken)
Retrieves guild permissions by their IDs.
- GetGuildPermissionsByPage(int, int?, Language?, MissingMemberBehavior, CancellationToken)
Retrieves a page of guild permissions.
- GetGuildPermissionsIndex(CancellationToken)
Retrieves the IDs of all guild permissions.
- GetGuildRanks(string, string?, MissingMemberBehavior, CancellationToken)
Retrieves the guild ranks of a guild by its ID. This endpoint is only accessible with a valid access token and access is restricted to guild leaders.
- GetGuildStorage(string, string?, MissingMemberBehavior, CancellationToken)
Retrieves the guild storage of a guild by its ID. This endpoint is only accessible with a valid access token and access is restricted to guild leaders.
- GetGuildTeams(string, string?, MissingMemberBehavior, CancellationToken)
Retrieves PvP teams of a guild by its ID. This endpoint is only accessible with a valid access token and access is restricted to guild leaders.
- GetGuildTreasury(string, string?, MissingMemberBehavior, CancellationToken)
Retrieves the guild treasury of a guild by its ID. This endpoint is only accessible with a valid access token and access is restricted to guild leaders.
- GetGuildUpgradeById(int, Language?, MissingMemberBehavior, CancellationToken)
Retrieves a guild upgrade by its ID.
- GetGuildUpgrades(Language?, MissingMemberBehavior, CancellationToken)
Retrieves all guild upgrades.
- GetGuildUpgradesByIds(IEnumerable<int>, Language?, MissingMemberBehavior, CancellationToken)
Retrieves guild upgrades by their IDs.
- GetGuildUpgradesByPage(int, int?, Language?, MissingMemberBehavior, CancellationToken)
Retrieves a page of guild upgrades.
- GetGuildUpgradesIndex(CancellationToken)
Retrieves the IDs of all guild upgrades.
- GetGuildsByName(string, CancellationToken)
Retrieves a list of guild IDs that match the given name.