private static void Main(string[] args) { IStandupService service = new StandupService("rWhFopVMgXRBxHUQIzqvDlMHOLuYA5obelp3SOVx"); //IStandupService service = new FakeStandupService(); var result = service.GetAllStandupHistory("Rave Scrum and Announcements", "Standup"); Console.WriteLine("Fetched {0} Hipchat messages", result.Count); Console.ReadKey(); }
private IList<IStandupMessage> GetTableData() { var key = ConfigurationManager.AppSettings["AuthTokens.Admin"]; var room = ConfigurationManager.AppSettings["RoomName"]; var bot = ConfigurationManager.AppSettings["BotName"]; IStandupService service = new StandupService(key); var result = service.GetAllStandupHistory(room, bot); return result; }