コード例 #1
0
 public static TraktSyncResponse AddShowsToCollecton(TraktSyncShows shows)
 {
     var response = PostToTrakt(TraktURIs.SyncCollectionAdd, shows.ToJSON());
     return response.FromJSON<TraktSyncResponse>();
 }
コード例 #2
0
 public static TraktSyncResponse AddShowsToWatchlist(TraktSyncShows shows)
 {
     var response = PostToTrakt(TraktURIs.SyncWatchlistAdd, shows.ToJSON());
     return response.FromJSON<TraktSyncResponse>();
 }
コード例 #3
0
 public static TraktSyncResponse RemoveShowsFromWatchlist(TraktSyncShows shows)
 {
     var response = PostToTrakt(TraktURIs.SyncWatchlistRemove, shows.ToJSON());
     return response.FromJSON<TraktSyncResponse>();
 }