Пример #1
0
        public static TraktResponse RemoveMovieFromWatchlist(TraktMovie movie)
        {
            var movies = new TraktSyncMovies
            {
                Movies = new List <TraktMovie>()
                {
                    movie
                }
            };

            return(RemoveMoviesFromWatchlist(movies));
        }
Пример #2
0
        public static TraktResponse AddMovieToWatchlist(TraktMovie movie)
        {
            var movies = new TraktSyncMovies
            {
                Movies = new List <TraktMovie>()
                {
                    movie
                }
            };

            return(AddMoviesToWatchlist(movies));
        }
Пример #3
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));
        }
Пример #4
0
        public static TraktResponse RemoveMoviesFromWatchedHistory(TraktSyncMovies movies)
        {
            var response = SENDToTrakt(TraktURIs.SENDWatchedHistoryRemove, movies.ToJSON());

            return(response.FromJSON <TraktResponse>());
        }
Пример #5
0
        public static TraktResponse AddMoviesToWatchlist(TraktSyncMovies movies)
        {
            var response = SENDToTrakt(TraktURIs.SENDWatchlistAdd, movies.ToJSON());

            return(response.FromJSON <TraktResponse>());
        }
Пример #6
0
        public static TraktResponse RemoveMoviesFromRatings(TraktSyncMovies movies)
        {
            var response = SENDToTrakt(TraktURIs.SENDRatingsRemove, movies.ToJSON());

            return(response.FromJSON <TraktResponse>());
        }
Пример #7
0
        public static TraktResponse RemoveMoviesFromCollection(TraktSyncMovies movies)
        {
            var response = SENDToTrakt(TraktURIs.SENDCollectionRemove, movies.ToJSON());

            return(response.FromJSON <TraktResponse>());
        }