public async Task <ApiResponse <List <ClanSummary> > > GetTopWarClanWarsResponseAsync(Locations location = Locations.None, ClanSummaryFilter clanSummaryFilter = null) { var apiResponse = await _restApiClient.GetApiResponseAsync <List <ClanSummary> >(UrlPathBuilder.GetTopWarClanWarsUrl(location), clanSummaryFilter?.ToQueryParams()); return(apiResponse); }
public async Task <ApiResponse <List <ClanSummary> > > SearchClanResponseAsync(ClanSummaryFilter clanSummaryFilter = null) { var apiResponse = await _restApiClient.GetApiResponseAsync <List <ClanSummary> >(UrlPathBuilder.ClanSearchUrl, clanSummaryFilter?.ToQueryParams()); return(apiResponse); }
public async Task <IApiResponse <List <ClanSummary> > > SearchClanResponseAsync(ClanSummaryFilter clanSummaryFilter = null) { IApiResponse <List <ClanSummary> > apiResponse = await _restApiClient.GetApiResponseAsync <List <ClanSummary> >(UrlPathBuilder.ClanSearchUrl, clanSummaryFilter?.ToQueryParams(), null, new CamelCaseNamingStrategy()); return(apiResponse); }