public IEnumerable<Stacky.Question> GetQuestions(Stacky.Site site, string[] tags) { var siteClient = new StackyClient("1.0", "", site, new UrlClient(), new JsonProtocol()); QuestionOptions qo = new QuestionOptions(); qo.IncludeBody = true; qo.Max = 1000; qo.Tags = tags; return siteClient.GetQuestions(qo); }
public IEnumerable<Stacky.Question> GetQuestions(string site) { Stacky.Site apiSite = GetSiteByName(site); var siteClient = new StackyClient("1.0", "", apiSite, new UrlClient(), new JsonProtocol()); QuestionOptions qo = new QuestionOptions(); qo.IncludeBody = true; qo.Max = 1000; return siteClient.GetQuestions(qo); }