示例#1
0
        public async Task MovieReviewTest()
        {
            ResultObject <MovieReview> movieReview = await mdb.MovieReview(120, new UrlParameters { });

            Console.WriteLine("movieReview id: {0}", movieReview.id);
            Console.WriteLine("movieReview total_pages: {0}", movieReview.total_pages);
            Console.WriteLine("movieReview total_results: {0}", movieReview.total_results);
            Console.WriteLine("movieReview result id: {0}", movieReview.results[0].id);
            Console.WriteLine("movieReview result author: {0}", movieReview.results[0].author);
            Console.WriteLine("movieReview result content: {0}", movieReview.results[0].content);
            Console.WriteLine("movieReview result url: {0}", movieReview.results[0].url);

            Assert.IsTrue(movieReview != null);
        }