Exemple #1
0
    /// <summary>
    /// Rate a single show on trakt.tv
    /// </summary>
    public static TraktSyncResponse AddShowToRatings(TraktSyncShowRated show)
    {
      var shows = new TraktSyncShowsRated
      {
        Shows = new List<TraktSyncShowRated>() { show }
      };

      return AddShowsToRatings(shows);
    }
Exemple #2
0
 public static TraktSyncResponse AddShowsToRatings(TraktSyncShowsRated shows)
 {
   var response = TraktWeb.PostToTrakt(TraktURIs.SyncRatingsAdd, shows.ToJSON());
   return response.FromJSON<TraktSyncResponse>();
 }