예제 #1
0
    public static TraktSyncResponse RemoveShowFromWatchlist(TraktShow show)
    {
      var shows = new TraktSyncShows
      {
        Shows = new List<TraktShow>() { show }
      };

      return RemoveShowsFromWatchlist(shows);
    }
예제 #2
0
 public static TraktSyncResponse RemoveShowsFromWatchlist(TraktSyncShows shows)
 {
   var response = TraktWeb.PostToTrakt(TraktURIs.SyncWatchlistRemove, shows.ToJSON());
   return response.FromJSON<TraktSyncResponse>();
 }
예제 #3
0
    public static TraktSyncResponse AddShowToWatchlist(TraktShow show)
    {
      var shows = new TraktSyncShows
      {
        Shows = new List<TraktShow>() { show }
      };

      return AddShowsToWatchlist(shows);
    }
예제 #4
0
 public static TraktSyncResponse AddShowsToWatchlist(TraktSyncShows shows)
 {
   var response = TraktWeb.PostToTrakt(TraktURIs.SyncWatchlistAdd, shows.ToJSON());
   return response.FromJSON<TraktSyncResponse>();
 }
예제 #5
0
    /// <summary>
    /// UnRate a single show on trakt.tv
    /// </summary>
    public static TraktSyncResponse RemoveShowFromRatings(TraktShow show)
    {
      var shows = new TraktSyncShows
      {
        Shows = new List<TraktShow>() { new TraktShow { Ids = show.Ids } }
      };

      return RemoveShowsFromRatings(shows);
    }
예제 #6
0
    public static TraktSyncResponse RemoveShowFromCollection(TraktShow show)
    {
      var shows = new TraktSyncShows
      {
        Shows = new List<TraktShow>() { show }
      };

      return RemoveShowsFromCollecton(shows);
    }
예제 #7
0
    public static TraktSyncResponse AddShowToCollection(TraktShow show)
    {
      var shows = new TraktSyncShows
      {
        Shows = new List<TraktShow>() { show }
      };

      return AddShowsToCollecton(shows);
    }
예제 #8
0
 public static TraktSyncResponse RemoveShowsFromCollecton(TraktSyncShows shows)
 {
   var response = TraktWeb.PostToTrakt(TraktURIs.SyncCollectionAdd, shows.ToJSON());
   return response.FromJSON<TraktSyncResponse>();
 }