Beispiel #1
0
    /// <summary>
    /// Rate a single season on trakt.tv (with show info)
    /// </summary>
    public static TraktSyncResponse AddSeasonToRatingsEx(TraktSyncSeasonRatedEx item)
    {
      var seasons = new TraktSyncSeasonsRatedEx
      {
        Shows = new List<TraktSyncSeasonRatedEx>() { item }
      };

      return AddSeasonsToRatingsEx(seasons);
    }
Beispiel #2
0
    /// <summary>
    /// UnRate a single season on trakt.tv (with show info)
    /// </summary>
    public static TraktSyncResponse RemoveSeasonFromRatingsEx(TraktSyncSeasonRatedEx item)
    {
      var seasons = new TraktSyncSeasonsRatedEx
      {
        Shows = new List<TraktSyncSeasonRatedEx>() { item }
      };

      return RemoveSeasonsFromRatingsEx(seasons);
    }
Beispiel #3
0
 public static TraktSyncResponse RemoveSeasonsFromRatingsEx(TraktSyncSeasonsRatedEx shows)
 {
   var response = TraktWeb.PostToTrakt(TraktURIs.SyncRatingsRemove, shows.ToJSON());
   return response.FromJSON<TraktSyncResponse>();
 }