public static Collection <PartialMatche> Search(string strSearch, LanguageType language) { if (string.IsNullOrEmpty(strSearch) == false) { Uri strUrl = new Uri(string.Format(RootUrl + "search/movie?api_key={1}&query={2}&language={0}", language.ToString().ToLower(), "ec7abdb7bea26002ff70d02cb5b11224", strSearch)); string response = Util.GetRest(strUrl, false, true); //Fix since version 2.6 if (string.IsNullOrWhiteSpace(response)) { return(null); } JObject restResponse = JObject.Parse(response); return(TMDB.MovieToPartialMatche(restResponse)); } else { return(null); } }