コード例 #1
0
        public static TraktSyncResponse AddEpisodeToCollection(TraktSyncEpisodeCollected episode)
        {
            var episodes = new TraktSyncEpisodesCollected
            {
                Episodes = new List<TraktSyncEpisodeCollected>() { episode }
            };

            return AddEpisodesToCollecton(episodes);
        }
コード例 #2
0
 public static TraktSyncResponse AddEpisodesToCollecton(TraktSyncEpisodesCollected episodes)
 {
     var response = PostToTrakt(TraktURIs.SyncCollectionAdd, episodes.ToJSON());
     return response.FromJSON<TraktSyncResponse>();
 }