Exemple #1
0
        public static IMDBMovieSearchResult SearchMovie(string title)
        {
            IMDBMovieSearchResult movie = DeserializeIMDBMovieSearchResult(GetDataFromOMDB(new string[] {
                "s=" + title
            }));

            return(movie);
        }
Exemple #2
0
        static IMDBMovieSearchResult DeserializeIMDBMovieSearchResult(string json)
        {
            IMDBMovieSearchResult deserializedProduct = JsonConvert.DeserializeObject <IMDBMovieSearchResult>(json);

            return(deserializedProduct);
        }