예제 #1
0
        public static TraktResponse RemoveMovieFromWatchedHistory(TraktMovie movie)
        {
            var movies = new TraktSyncMovies
            {
                Movies = new List<TraktMovie>() { movie }
            };

            return RemoveMoviesFromWatchedHistory(movies);
        }
예제 #2
0
        public static TraktResponse AddMovieToWatchlist(TraktMovie movie)
        {
            var movies = new TraktSyncMovies
            {
                Movies = new List<TraktMovie>() { movie }
            };

            return AddMoviesToWatchlist(movies);
        }
예제 #3
0
 public static TraktResponse RemoveMoviesFromWatchedHistory(TraktSyncMovies movies)
 {
     var response = SENDToTrakt(TraktURIs.SENDWatchedHistoryRemove, movies.ToJSON());
     return response.FromJSON<TraktResponse>();
 }
예제 #4
0
 public static TraktResponse AddMoviesToWatchlist(TraktSyncMovies movies)
 {
     var response = SENDToTrakt(TraktURIs.SENDWatchlistAdd, movies.ToJSON());
     return response.FromJSON<TraktResponse>();
 }
예제 #5
0
 public static TraktResponse RemoveMoviesFromRatings(TraktSyncMovies movies)
 {
     var response = SENDToTrakt(TraktURIs.SENDRatingsRemove, movies.ToJSON());
     return response.FromJSON<TraktResponse>();
 }
예제 #6
0
        /// <summary>
        /// UnRate a single movie on trakt.tv
        /// </summary>
        public static TraktResponse RemoveMovieFromRatings(TraktMovie movie)
        {
            var movies = new TraktSyncMovies
            {
                Movies = new List<TraktMovie>() { new TraktMovie { Ids = movie.Ids } }
            };

            return RemoveMoviesFromRatings(movies);
        }
예제 #7
0
 public static TraktResponse RemoveMoviesFromCollection(TraktSyncMovies movies)
 {
     var response = SENDToTrakt(TraktURIs.SENDCollectionRemove, movies.ToJSON());
     return response.FromJSON<TraktResponse>();
 }
예제 #8
0
        public static TraktResponse RemoveMovieFromCollection(TraktMovie movie)
        {
            var movies = new TraktSyncMovies
            {
                Movies = new List<TraktMovie>() { movie }
            };

            return RemoveMoviesFromCollection(movies);
        }