Пример #1
0
 public static TraktSyncResponse RemoveEpisodesFromWatchlist(TraktSyncEpisodes episodes)
 {
     var response = PostToTrakt(TraktURIs.SyncWatchlistRemove, episodes.ToJSON());
     return response.FromJSON<TraktSyncResponse>();
 }
Пример #2
0
        public static TraktSyncResponse AddEpisodeToWatchlist(TraktEpisode episode)
        {
            var episodes = new TraktSyncEpisodes
            {
                Episodes = new List<TraktEpisode>() { episode }
            };

            return AddEpisodesToWatchlist(episodes);
        }
Пример #3
0
 public static TraktSyncResponse RemoveEpisodesFromCollecton(TraktSyncEpisodes episodes)
 {
     var response = PostToTrakt(TraktURIs.SyncCollectionRemove, episodes.ToJSON());
     return response.FromJSON<TraktSyncResponse>();
 }
Пример #4
0
        public static TraktSyncResponse RemoveEpisodeFromWatchlist(TraktEpisode episode)
        {
            var episodes = new TraktSyncEpisodes
            {
                Episodes = new List<TraktEpisode>() { episode }
            };

            return RemoveEpisodesFromWatchlist(episodes);
        }
Пример #5
0
 public static TraktSyncResponse AddEpisodesToWatchlist(TraktSyncEpisodes episodes)
 {
     var response = PostToTrakt(TraktURIs.SyncWatchlistAdd, episodes.ToJSON());
     return response.FromJSON<TraktSyncResponse>();
 }
Пример #6
0
        /// <summary>
        /// UnRate a single episode on trakt.tv
        /// </summary>
        public static TraktSyncResponse RemoveEpisodeFromRatings(TraktEpisode episode)
        {
            var episodes = new TraktSyncEpisodes
            {
                Episodes = new List<TraktEpisode>() { new TraktEpisode { Ids = episode.Ids } }
            };

            return RemoveEpisodesFromRatings(episodes);
        }
Пример #7
0
        public static TraktSyncResponse RemoveEpisodeFromCollection(TraktEpisode episode)
        {
            var episodes = new TraktSyncEpisodes
            {
                Episodes = new List<TraktEpisode>() { episode }
            };

            return RemoveEpisodesFromCollecton(episodes);
        }