Beispiel #1
0
    /// <summary>
    /// Rate a single episode on trakt.tv
    /// </summary>
    public static TraktSyncResponse AddEpisodeToRatings(TraktSyncEpisodeRated episode)
    {
      var episodes = new TraktSyncEpisodesRated
      {
        Episodes = new List<TraktSyncEpisodeRated>() { episode }
      };

      return AddEpisodesToRatings(episodes);
    }
Beispiel #2
0
 public static TraktSyncResponse AddEpisodesToRatings(TraktSyncEpisodesRated episodes)
 {
   var response = TraktWeb.PostToTrakt(TraktURIs.SyncRatingsAdd, episodes.ToJSON());
   return response.FromJSON<TraktSyncResponse>();
 }