Guilds

How to: get and print a guild by ID

using GW2NET;
var service = GW2.V1.Guilds;
var guildId = Guid.Parse("75FD83CF-0C45-4834-BC4C-097F93A487AF");
var guild = service.Find(guildId);
Console.WriteLine("{0} [{1}]", guild.Name, guild.Tag);

How to: get and print a guild by name

using GW2NET;
var service = GW2.V1.Guilds;
var guildName = "Veterans Of Lions Arch";
var guild = service.FindByName(guildName);
Console.WriteLine("{0} [{1}]", guild.Name, guild.Tag);

Last edited Feb 7, 2015 at 9:58 AM by StevenLiekens, version 4