public async Task <News> GetNews(string[] feeds, string[] categories, string[] excludeCategories, long?its, string lang, string sort) { return(await GetAsync <News>(NewsApiUrls.News(feeds, categories, excludeCategories, its, lang, sort)) .ConfigureAwait(false)); }
public async Task <News> GetNews() { return(await GetAsync <News>(NewsApiUrls.News(null, null, null, null, null, null)) .ConfigureAwait(false)); }