コード例 #1
0
        public async Task TvTranslationsTest()
        {
            Translations <TranslationObject <TvTranslations> > tvTranslation = await mdb.TvTranslation(63926, new UrlParameters { });

            Console.WriteLine("movieTranslation id : {0}", tvTranslation.id);
            Console.WriteLine("movieTranslation length: {0}", tvTranslation.translations.Length);
            Console.WriteLine("movieTranslation data Title: {0}", tvTranslation.translations[0].data.name);
            Console.WriteLine("movieTranslation data Homepage: {0}", tvTranslation.translations[0].data.homepage);
            Console.WriteLine("movieTranslation data Overwiev: {0}", tvTranslation.translations[0].data.overview);

            Assert.IsTrue(tvTranslation != null);
        }