예제 #1
0
 /// <summary>
 /// Sends movies rate data to Trakt
 /// </summary>
 public static TraktResponse AddMoviesToRatings(TraktSyncMoviesRated movies)
 {
     var response = SENDToTrakt(TraktURIs.SENDRatingsAdd, movies.ToJSON());
     return response.FromJSON<TraktResponse>();
 }
예제 #2
0
        /// <summary>
        /// Rate a single movie on trakt.tv
        /// </summary>
        public static TraktResponse AddMovieToRatings(TraktSyncMovieRated movie)
        {
            var movies = new TraktSyncMoviesRated
            {
                Movies = new List<TraktSyncMovieRated>() { movie }
            };

            return AddMoviesToRatings(movies);
        }