Example #1
0
 public static TraktSyncResponse AddMoviesToWatchlist(TraktSyncMovies movies)
 {
     var response = PostToTrakt(TraktURIs.SyncWatchlistAdd, movies.ToJSON());
     return response.FromJSON<TraktSyncResponse>();
 }
Example #2
0
        public static TraktSyncResponse AddMovieToWatchlist(TraktMovie movie)
        {
            var movies = new TraktSyncMovies
            {
                Movies = new List<TraktMovie>() { movie }
            };

            return AddMoviesToWatchlist(movies);
        }
Example #3
0
 public static TraktSyncResponse RemoveMoviesFromWatchlist(TraktSyncMovies movies)
 {
     var response = PostToTrakt(TraktURIs.SyncWatchlistRemove, movies.ToJSON());
     return response.FromJSON<TraktSyncResponse>();
 }
Example #4
0
 public static TraktSyncResponse RemoveMoviesFromCollecton(TraktSyncMovies movies)
 {
     var response = PostToTrakt(TraktURIs.SyncCollectionRemove, movies.ToJSON());
     return response.FromJSON<TraktSyncResponse>();
 }
Example #5
0
        public static TraktSyncResponse RemoveMovieFromWatchlist(TraktMovie movie)
        {
            var movies = new TraktSyncMovies
            {
                Movies = new List<TraktMovie>() { movie }
            };

            return RemoveMoviesFromWatchlist(movies);
        }
Example #6
0
        /// <summary>
        /// UnRate a single movie on trakt.tv
        /// </summary>
        public static TraktSyncResponse RemoveMovieFromRatings(TraktMovie movie)
        {
            var movies = new TraktSyncMovies
            {
                Movies = new List<TraktMovie>() { new TraktMovie { Ids = movie.Ids } }
            };

            return RemoveMoviesFromRatings(movies);
        }
Example #7
0
        public static TraktSyncResponse RemoveMovieFromCollection(TraktMovie movie)
        {
            var movies = new TraktSyncMovies
            {
                Movies = new List<TraktMovie>() { movie }
            };

            return RemoveMoviesFromCollecton(movies);
        }