예제 #1
0
        public static TraktResponse RemoveEpisodeFromWatchedHistory(TraktEpisode episode)
        {
            var episodes = new TraktSyncEpisodes
            {
                Episodes = new List<TraktEpisode>() { episode }
            };

            return RemoveEpisodesFromWatchedHistory(episodes);
        }
예제 #2
0
        public static TraktResponse AddEpisodeToWatchlist(TraktEpisode episode)
        {
            var episodes = new TraktSyncEpisodes
            {
                Episodes = new List<TraktEpisode>() { episode }
            };

            return AddEpisodesToWatchlist(episodes);
        }
예제 #3
0
 public static TraktResponse RemoveEpisodesFromWatchedHistory(TraktSyncEpisodes episodes)
 {
     var response = SENDToTrakt(TraktURIs.SENDWatchedHistoryRemove, episodes.ToJSON());
     return response.FromJSON<TraktResponse>();
 }
예제 #4
0
 public static TraktResponse AddEpisodesToWatchlist(TraktSyncEpisodes episodes)
 {
     var response = SENDToTrakt(TraktURIs.SENDWatchlistAdd, episodes.ToJSON());
     return response.FromJSON<TraktResponse>();
 }