示例#1
0
        internal static Movie Parse(string jsonString)
        {
            JObject json = JObject.Parse(jsonString);

            return(Movie.Parse(json));
        }
示例#2
0
        internal static Movie GetMovie(int id)
        {
            string json = new WebClient().DownloadString(string.Format(Constants.MovieEndpoint, Constants.ApiKey, id));

            return(Movie.Parse(json));
        }