public Task <SearchResult> Search(EntityType categories, string search, bool strict) { var typeParam = Uri.EscapeDataString(categories.ToString().ToLower().Replace(" ", "")); var searchParam = Uri.EscapeDataString(search); return(_client.GetAsync <SearchResult>($"search/?categories={typeParam}&search={searchParam}&strict={strict}")); }
public Task <CharacterInfo> Get(long characterId) { return(_client.GetAsync <CharacterInfo>($"characters/{characterId}")); }
public Task <CorporationInfo[]> GetNames(params long[] corporationIds) { return(_client.GetAsync <CorporationInfo[]>($"corporations/names/?corporation_ids={string.Join(",", corporationIds)}")); }
public Task <long[]> GetAll() { return(_client.GetAsync <long[]>("alliances/")); }