Пример #1
0
        private static void GetUpdates(TVDB tvdb)
        {
            var updates = tvdb.GetUpdates(Interval.Day);

            Console.WriteLine("Updates during the last 24 hours on thetvdb, since {0}", updates.Timestamp);
            DisplayUpdates.Print(updates);
        }
Пример #2
0
        private static async Task GetUpdates(TVDB tvdb)
        {
            var beginTime = new DateTime(2019, 12, 10);

            Console.WriteLine($"Updates in the 7 days since {beginTime}");

            var updates = await tvdb.GetUpdates(beginTime);

            DisplayUpdates.Print(updates.Take(20).ToList());
            Console.WriteLine("-----------");
        }