C# 클래스 TraktRater.TraktAPI.TraktAPI

Object that communicates with the Trakt API
파일 보기 프로젝트 열기: damienhaynes/TraktRater

공개 메소드들

메소드 설명
AddEpisodesToWatchedHistory ( TraktEpisodeWatchedSync syncData ) : TraktSyncResponse

Sends episode watched sync data to Trakt

AddEpisodesToWatchlist ( TraktEpisodeSync syncData ) : TraktSyncResponse

Sends episode sync data to Trakt Watchlist

AddItemsToList ( string id, TraktSyncAll items, string username = "me" ) : TraktSyncResponse
AddMoviesToRatings ( TraktMovieRatingSync data ) : TraktSyncResponse

Rates a list of movies on trakt

AddMoviesToWatchedHistory ( TraktMovieWatchedSync syncData ) : TraktSyncResponse

Sends movies watched sync data to Trakt

AddMoviesToWatchlist ( TraktMovieSync syncData ) : TraktSyncResponse

Sends movie sync data to Trakt Watchlist

AddShowsToRatings ( TraktShowRatingSync data ) : TraktSyncResponse

Rates a list of shows on trakt

AddShowsToWatchlist ( TraktShowSync syncData ) : TraktSyncResponse

Sends show sync data to Trakt Watchlist

AddsEpisodesToRatings ( TraktEpisodeRatingSync data ) : TraktSyncResponse

Rates a list of episodes on trakt

CreateCustomList ( TraktList list, string username = "me" ) : TraktListDetail
DeleteCustomList ( string listId, string username = "me" ) : bool
GetCollectedMovies ( ) : IEnumerable

Returns the current users collected movies

GetCollectedShows ( ) : IEnumerable

Returns the current users collected episodes

GetCustomListItems ( string listId, string username = "me", string extendedInfoParams = "min" ) : IEnumerable
GetCustomLists ( string username = "me" ) : IEnumerable

Returns all custom lists for a user

GetOAuthToken ( string key ) : TraktOAuthToken

Login to trakt to request a user access token for all subsequent requests

GetRatedEpisodes ( ) : IEnumerable

Returns the current users Rated Episodes

GetRatedMovies ( ) : IEnumerable

Returns the current users Rated Movies

GetRatedSeasons ( ) : IEnumerable

Returns the current users Rated Seasons

GetRatedShows ( ) : IEnumerable

Returns the current users Rated Shows

GetUserToken ( ) : TraktUserToken

Login to trakt to request a user token for all subsequent requests

GetWatchedMovies ( ) : IEnumerable

Returns the current users watched movies and play counts

GetWatchedShows ( ) : IEnumerable

Returns the current users watched episodes and play counts

GetWatchlistEpisodes ( ) : IEnumerable

Returns the current users watchlist episodes

GetWatchlistMovies ( ) : IEnumerable

Returns the current users watchlist movies

GetWatchlistSeasons ( ) : IEnumerable

Returns the current users watchlist seasons

GetWatchlistShows ( ) : IEnumerable

Returns the current users watchlist shows

RemoveEpisodesFromRatings ( TraktEpisodeSync syncData ) : TraktSyncResponse

Removes all episode ratings from trakt

RemoveEpisodesFromWatchlist ( TraktEpisodeSync syncData ) : TraktSyncResponse

Removes all episodes from watchlist from trakt

RemoveMoviesFromCollection ( TraktMovieSync syncData ) : TraktSyncResponse

Removes movies from users collection

RemoveMoviesFromRatings ( TraktMovieSync syncData ) : TraktSyncResponse

Removes all movie ratings from trakt

RemoveMoviesFromWatchedHistory ( TraktMovieSync syncData ) : TraktSyncResponse

Removes movies from users watched history

RemoveMoviesFromWatchlist ( TraktMovieSync syncData ) : TraktSyncResponse

Removes all movies from watchlist from trakt

RemoveSeasonsFromRatings ( TraktSeasonSync syncData ) : TraktSyncResponse

Removes all season ratings from trakt

RemoveSeasonsFromWatchlist ( TraktSeasonSync syncData ) : TraktSyncResponse

Removes all seasons from watchlist from trakt

RemoveShowsFromCollection ( TraktShowSync syncData ) : TraktSyncResponse

Removes all episodes for each show in users collection

RemoveShowsFromRatings ( TraktShowSync syncData ) : TraktSyncResponse

Removes all show ratings from trakt

RemoveShowsFromWatchedHistory ( TraktShowSync syncData ) : TraktSyncResponse

Removes all episodes for each show in users watched history

RemoveShowsFromWatchlist ( TraktShowSync syncData ) : TraktSyncResponse

Removes all shows from watchlist from trakt

비공개 메소드들

메소드 설명
GetOAuthLogin ( string key ) : string

Gets a oAuth Login object

GetUserLogin ( ) : string

Gets a User Login object

메소드 상세

AddEpisodesToWatchedHistory() 공개 정적인 메소드

Sends episode watched sync data to Trakt
public static AddEpisodesToWatchedHistory ( TraktEpisodeWatchedSync syncData ) : TraktSyncResponse
syncData TraktEpisodeWatchedSync The sync data to send
리턴 TraktSyncResponse

AddEpisodesToWatchlist() 공개 정적인 메소드

Sends episode sync data to Trakt Watchlist
public static AddEpisodesToWatchlist ( TraktEpisodeSync syncData ) : TraktSyncResponse
syncData TraktEpisodeSync The sync data to send
리턴 TraktSyncResponse

AddItemsToList() 공개 정적인 메소드

public static AddItemsToList ( string id, TraktSyncAll items, string username = "me" ) : TraktSyncResponse
id string
items TraktSyncAll
username string
리턴 TraktSyncResponse

AddMoviesToRatings() 공개 정적인 메소드

Rates a list of movies on trakt
public static AddMoviesToRatings ( TraktMovieRatingSync data ) : TraktSyncResponse
data TraktMovieRatingSync The object containing the list of movies to be rated
리턴 TraktSyncResponse

AddMoviesToWatchedHistory() 공개 정적인 메소드

Sends movies watched sync data to Trakt
public static AddMoviesToWatchedHistory ( TraktMovieWatchedSync syncData ) : TraktSyncResponse
syncData TraktMovieWatchedSync The sync data to send
리턴 TraktSyncResponse

AddMoviesToWatchlist() 공개 정적인 메소드

Sends movie sync data to Trakt Watchlist
public static AddMoviesToWatchlist ( TraktMovieSync syncData ) : TraktSyncResponse
syncData TraktMovieSync The sync data to send
리턴 TraktSyncResponse

AddShowsToRatings() 공개 정적인 메소드

Rates a list of shows on trakt
public static AddShowsToRatings ( TraktShowRatingSync data ) : TraktSyncResponse
data TraktShowRatingSync The object containing the list of shows to be rated
리턴 TraktSyncResponse

AddShowsToWatchlist() 공개 정적인 메소드

Sends show sync data to Trakt Watchlist
public static AddShowsToWatchlist ( TraktShowSync syncData ) : TraktSyncResponse
syncData TraktShowSync The sync data to send
리턴 TraktSyncResponse

AddsEpisodesToRatings() 공개 정적인 메소드

Rates a list of episodes on trakt
public static AddsEpisodesToRatings ( TraktEpisodeRatingSync data ) : TraktSyncResponse
data TraktEpisodeRatingSync The object containing the list of episodes to be rated
리턴 TraktSyncResponse

CreateCustomList() 공개 정적인 메소드

public static CreateCustomList ( TraktList list, string username = "me" ) : TraktListDetail
list TraktList
username string
리턴 TraktListDetail

DeleteCustomList() 공개 정적인 메소드

public static DeleteCustomList ( string listId, string username = "me" ) : bool
listId string
username string
리턴 bool

GetCollectedMovies() 공개 정적인 메소드

Returns the current users collected movies
public static GetCollectedMovies ( ) : IEnumerable
리턴 IEnumerable

GetCollectedShows() 공개 정적인 메소드

Returns the current users collected episodes
public static GetCollectedShows ( ) : IEnumerable
리턴 IEnumerable

GetCustomListItems() 공개 정적인 메소드

public static GetCustomListItems ( string listId, string username = "me", string extendedInfoParams = "min" ) : IEnumerable
listId string
username string
extendedInfoParams string
리턴 IEnumerable

GetCustomLists() 공개 정적인 메소드

Returns all custom lists for a user
public static GetCustomLists ( string username = "me" ) : IEnumerable
username string Username of person's list
리턴 IEnumerable

GetOAuthToken() 공개 정적인 메소드

Login to trakt to request a user access token for all subsequent requests
public static GetOAuthToken ( string key ) : TraktOAuthToken
key string Set this to a PinCode for first time oAuth otherwise your previous Access Token
리턴 TraktOAuthToken

GetRatedEpisodes() 공개 정적인 메소드

Returns the current users Rated Episodes
public static GetRatedEpisodes ( ) : IEnumerable
리턴 IEnumerable

GetRatedMovies() 공개 정적인 메소드

Returns the current users Rated Movies
public static GetRatedMovies ( ) : IEnumerable
리턴 IEnumerable

GetRatedSeasons() 공개 정적인 메소드

Returns the current users Rated Seasons
public static GetRatedSeasons ( ) : IEnumerable
리턴 IEnumerable

GetRatedShows() 공개 정적인 메소드

Returns the current users Rated Shows
public static GetRatedShows ( ) : IEnumerable
리턴 IEnumerable

GetUserToken() 공개 정적인 메소드

Login to trakt to request a user token for all subsequent requests
public static GetUserToken ( ) : TraktUserToken
리턴 TraktUserToken

GetWatchedMovies() 공개 정적인 메소드

Returns the current users watched movies and play counts
public static GetWatchedMovies ( ) : IEnumerable
리턴 IEnumerable

GetWatchedShows() 공개 정적인 메소드

Returns the current users watched episodes and play counts
public static GetWatchedShows ( ) : IEnumerable
리턴 IEnumerable

GetWatchlistEpisodes() 공개 정적인 메소드

Returns the current users watchlist episodes
public static GetWatchlistEpisodes ( ) : IEnumerable
리턴 IEnumerable

GetWatchlistMovies() 공개 정적인 메소드

Returns the current users watchlist movies
public static GetWatchlistMovies ( ) : IEnumerable
리턴 IEnumerable

GetWatchlistSeasons() 공개 정적인 메소드

Returns the current users watchlist seasons
public static GetWatchlistSeasons ( ) : IEnumerable
리턴 IEnumerable

GetWatchlistShows() 공개 정적인 메소드

Returns the current users watchlist shows
public static GetWatchlistShows ( ) : IEnumerable
리턴 IEnumerable

RemoveEpisodesFromRatings() 공개 정적인 메소드

Removes all episode ratings from trakt
public static RemoveEpisodesFromRatings ( TraktEpisodeSync syncData ) : TraktSyncResponse
syncData TraktEpisodeSync list of episodes
리턴 TraktSyncResponse

RemoveEpisodesFromWatchlist() 공개 정적인 메소드

Removes all episodes from watchlist from trakt
public static RemoveEpisodesFromWatchlist ( TraktEpisodeSync syncData ) : TraktSyncResponse
syncData TraktEpisodeSync list of episodes
리턴 TraktSyncResponse

RemoveMoviesFromCollection() 공개 정적인 메소드

Removes movies from users collection
public static RemoveMoviesFromCollection ( TraktMovieSync syncData ) : TraktSyncResponse
syncData TraktMovieSync list of shows
리턴 TraktSyncResponse

RemoveMoviesFromRatings() 공개 정적인 메소드

Removes all movie ratings from trakt
public static RemoveMoviesFromRatings ( TraktMovieSync syncData ) : TraktSyncResponse
syncData TraktMovieSync list of movies
리턴 TraktSyncResponse

RemoveMoviesFromWatchedHistory() 공개 정적인 메소드

Removes movies from users watched history
public static RemoveMoviesFromWatchedHistory ( TraktMovieSync syncData ) : TraktSyncResponse
syncData TraktMovieSync list of shows
리턴 TraktSyncResponse

RemoveMoviesFromWatchlist() 공개 정적인 메소드

Removes all movies from watchlist from trakt
public static RemoveMoviesFromWatchlist ( TraktMovieSync syncData ) : TraktSyncResponse
syncData TraktMovieSync list of movies
리턴 TraktSyncResponse

RemoveSeasonsFromRatings() 공개 정적인 메소드

Removes all season ratings from trakt
public static RemoveSeasonsFromRatings ( TraktSeasonSync syncData ) : TraktSyncResponse
syncData TraktSeasonSync list of shows with seasons
리턴 TraktSyncResponse

RemoveSeasonsFromWatchlist() 공개 정적인 메소드

Removes all seasons from watchlist from trakt
public static RemoveSeasonsFromWatchlist ( TraktSeasonSync syncData ) : TraktSyncResponse
syncData TraktSeasonSync list of shows with seasons
리턴 TraktSyncResponse

RemoveShowsFromCollection() 공개 정적인 메소드

Removes all episodes for each show in users collection
public static RemoveShowsFromCollection ( TraktShowSync syncData ) : TraktSyncResponse
syncData TraktShowSync list of shows
리턴 TraktSyncResponse

RemoveShowsFromRatings() 공개 정적인 메소드

Removes all show ratings from trakt
public static RemoveShowsFromRatings ( TraktShowSync syncData ) : TraktSyncResponse
syncData TraktShowSync list of shows
리턴 TraktSyncResponse

RemoveShowsFromWatchedHistory() 공개 정적인 메소드

Removes all episodes for each show in users watched history
public static RemoveShowsFromWatchedHistory ( TraktShowSync syncData ) : TraktSyncResponse
syncData TraktShowSync list of shows
리턴 TraktSyncResponse

RemoveShowsFromWatchlist() 공개 정적인 메소드

Removes all shows from watchlist from trakt
public static RemoveShowsFromWatchlist ( TraktShowSync syncData ) : TraktSyncResponse
syncData TraktShowSync list of shows
리턴 TraktSyncResponse