Esempio n. 1
0
        public void OMDbConnection_ImdbID()
        {
            IWebApiClient client = new WebApiClient();

            IOMDbConnection oMDbConnection = new OMDbConnection(client);

            Movie movie = oMDbConnection.SearchMovie("?i=tt3501632").Result;

            Console.WriteLine(JsonConvert.SerializeObject(movie));
        }
Esempio n. 2
0
        public void OMDbConnection_TitleAndYear()
        {
            IWebApiClient client = new WebApiClient();

            IOMDbConnection oMDbConnection = new OMDbConnection(client);

            Movie movie = oMDbConnection.SearchMovie("?t=thor&y=2017").Result;

            Console.WriteLine(JsonConvert.SerializeObject(movie));
        }