示例#1
0
        public async Task TvCreditTest()
        {
            TvCredit tvCredits = await mdb.TvCredit(63926, new UrlParameters { });

            Console.WriteLine("id: {0}", tvCredits.id);
            Console.WriteLine("cast length: {0}", tvCredits.cast.Length);
            Console.WriteLine("cast id: {0}", tvCredits.cast[0].cast_id);
            Console.WriteLine("cast name [0]: {0}", tvCredits.cast[0].name);
            Console.WriteLine("crew length [0]: {0}", tvCredits.crew.Length);

            Assert.IsTrue(tvCredits != null);
        }