Пример #1
0
        public async Task TvPopularTest()
        {
            ResultObject <TvPopular> tvPopular = await mdb.TvPopular(new UrlParameters { });

            Console.WriteLine("tvPopular id: {0}", tvPopular.id);
            Console.WriteLine("tvPopular total_pages: {0}", tvPopular.total_pages);
            Console.WriteLine("tvPopular total_results: {0}", tvPopular.total_results);
            Console.WriteLine("tvPopular result id: {0}", tvPopular.results[5].id);
            Console.WriteLine("tvPopular result title: {0}", tvPopular.results[5].name);

            Assert.IsTrue(tvPopular != null);
        }