コード例 #1
0
 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();
 }
コード例 #2
0
 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;
 }