Exemplo n.º 1
0
        private static void GetSpecificEpisode(TVDB tvdb)
        {
            Console.WriteLine("Game of Thrones s04e01");
            var episode = tvdb.GetEpisode(4721938);

            DisplayEpisodeDetails.Print(episode);
            Console.WriteLine("-----------");
        }
Exemplo n.º 2
0
        private static async Task GetSpecificShow(TVDB tvdb)
        {
            Console.WriteLine("Game of Thrones");
            var got = await tvdb.GetShow(121361);

            DisplayShowDetails.Print(got);

            var eps = await tvdb.GetEpisodes(121361);

            DisplayEpisodeDetails.Print(eps.First());

            Console.WriteLine("-----------");
        }