コード例 #1
0
        public static TraktSyncResponse AddSeasonToWatchlist(TraktSyncSeasonEx show)
        {
            var shows = new TraktSyncSeasonsEx
            {
                Shows = new List<TraktSyncSeasonEx>() { show }
            };

            return AddSeasonsToWatchlist(shows);
        }
コード例 #2
0
 public static TraktSyncResponse RemoveSeasonsFromWatchlist(TraktSyncSeasonsEx shows)
 {
     var response = PostToTrakt(TraktURIs.SyncWatchlistRemove, shows.ToJSON());
     return response.FromJSON<TraktSyncResponse>();
 }
コード例 #3
0
 public static TraktSyncResponse AddSeasonsToWatchlist(TraktSyncSeasonsEx shows)
 {
     var response = PostToTrakt(TraktURIs.SyncWatchlistAdd, shows.ToJSON());
     return response.FromJSON<TraktSyncResponse>();
 }
コード例 #4
0
        public static TraktSyncResponse RemoveSeasonFromWatchlist(TraktSyncSeasonEx show)
        {
            var shows = new TraktSyncSeasonsEx
            {
                Shows = new List<TraktSyncSeasonEx>() { show }
            };

            return RemoveSeasonsFromWatchlist(shows);
        }