Ejemplo n.º 1
0
        /// <summary>
        /// Retrieve all the basic movie information for a particular movie by RottenTomatoes reference.
        /// http://api.rottentomatoes.com/api/public/v1.0/movies/<id>/cast.json?apikey=<apikey>
        /// </summary>
        /// <param name="id">IMDB movie id without the initial tt</param>
        /// <returns></returns>
        public RottenTomatoesMovieInfo GetMoviesAlias(RottenTomatoesRequest Request)
        {
            if (Request.MovieID.Substring(0, 2).ToLower() == "tt")
            {
                Request.MovieID = Request.MovieID.Substring(2, Request.MovieID.Length - 2);
            }

            return(ProcessRequest <RottenTomatoesMovieInfo>(Generator.GetMovieInfo(Request)));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Retrieve all the basic movie information for a particular movie by RottenTomatoes reference.
        /// http://api.rottentomatoes.com/api/public/v1.0/movies/<id>/cast.json?apikey=<apikey>
        /// </summary>
        /// <param name="id">IMDB movie id without the initial tt</param>
        /// <returns></returns>
        public void GetMoviesAlias(RottenTomatoesRequest Request, Action <RottenTomatoesAsyncResult <RottenTomatoesMovieInfo> > callback)
        {
            if (Request.MovieID.Substring(0, 2).ToLower() == "tt")
            {
                Request.MovieID = Request.MovieID.Substring(2, Request.MovieID.Length - 2);
            }

            ProcessAsyncRequest <RottenTomatoesMovieInfo>(Generator.GetMovieInfo(Request), callback);
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Retrieve all the basic movie information for a particular movie by RottenTomatoes reference.
 /// http://api.rottentomatoes.com/api/public/v1.0/movies/<id>/clips.json?apikey=<apikey>
 /// </summary>
 /// <param name="id">RottenTomatoes movie id</param>
 /// <returns></returns>
 public RottenTomatoesMovieClips GetMovieClips(RottenTomatoesRequest Request)
 {
     return(ProcessRequest <RottenTomatoesMovieClips>(Generator.GetMovieInfo(Request)));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Retrieve all the basic movie information for a particular movie by RottenTomatoes reference.
 /// http://api.rottentomatoes.com/api/public/v1.0/movies/<id>/cast.json?apikey=<apikey>
 /// </summary>
 /// <param name="id">RottenTomatoes movie id</param>
 /// <returns></returns>
 public RottenTomatoesCastInfo GetMovieCast(RottenTomatoesRequest Request)
 {
     return(ProcessRequest <RottenTomatoesCastInfo>(Generator.GetMovieInfo(Request)));
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Retrieve all the basic movie information for a particular movie by RottenTomatoes reference.
 /// http://api.rottentomatoes.com/api/public/v1.0/movies/<id>/cast.json?apikey=<apikey>
 /// </summary>
 /// <param name="id">RottenTomatoes movie id</param>
 /// <returns></returns>
 public void GetMovieCast(RottenTomatoesRequest Request, Action <RottenTomatoesAsyncResult <RottenTomatoesCastInfo> > callback)
 {
     ProcessAsyncRequest <RottenTomatoesCastInfo>(Generator.GetMovieInfo(Request), callback);
 }