public class TmdbTV extends AbstractMethod
apiKey, httpTools, MAPPER| Constructor and Description |
|---|
TmdbTV(String apiKey,
HttpTools httpTools)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
TVInfo |
getLatestTV()
Get the latest TV show id.
|
MediaState |
getTVAccountState(int tvID,
String sessionID)
This method lets users get the status of whether or not the TV show has
been rated or added to their favourite or watch lists.
|
ResultList<TVInfo> |
getTVAiringToday(Integer page,
String language,
String timezone)
Get the list of TV shows that air today.
|
ResultList<AlternativeTitle> |
getTVAlternativeTitles(int tvID)
Get the alternative titles for a specific show ID.
|
ResultList<ChangeKeyItem> |
getTVChanges(int tvID,
String startDate,
String endDate)
Get the changes for a specific TV show id.
|
ResultList<ContentRating> |
getTVContentRatings(int tvID)
Get the content ratings for a specific TV show id.
|
MediaCreditList |
getTVCredits(int tvID,
String language)
Get the cast & crew information about a TV series.
|
ExternalID |
getTVExternalIDs(int tvID,
String language)
Get the external ids that we have stored for a TV series.
|
ResultList<Artwork> |
getTVImages(int tvID,
String language,
String... includeImageLanguage)
Get the images (posters and backdrops) for a TV series.
|
TVInfo |
getTVInfo(int tvID,
String language,
String... appendToResponse)
Get the primary information about a TV series by id.
|
ResultList<Keyword> |
getTVKeywords(int tvID)
Get the plot keywords for a specific TV show id.
|
ResultList<TVInfo> |
getTVOnTheAir(Integer page,
String language)
Get the list of TV shows that are currently on the air.
|
ResultList<TVInfo> |
getTVPopular(Integer page,
String language)
Get the list of popular TV shows.
|
ResultList<TVInfo> |
getTVSimilar(int tvID,
Integer page,
String language)
Get the similar TV shows for a specific tv id.
|
ResultList<TVInfo> |
getTVTopRated(Integer page,
String language)
Get the list of top rated TV shows.
|
ResultList<Translation> |
getTVTranslations(int tvID)
Get the list of translations that exist for a TV series.
|
ResultList<Video> |
getTVVideos(int tvID,
String language)
Get the videos that have been added to a TV series (trailers, opening
credits, etc...)
|
StatusCode |
postTVRating(int tvID,
int rating,
String sessionID,
String guestSessionID)
This method lets users rate a TV show.
|
getMediaChanges, getTypeReference, processWrapper, processWrapperListpublic TVInfo getTVInfo(int tvID, String language, String... appendToResponse) throws MovieDbException
tvID - language - appendToResponse - MovieDbExceptionpublic MediaState getTVAccountState(int tvID, String sessionID) throws MovieDbException
tvID - sessionID - MovieDbExceptionpublic ResultList<AlternativeTitle> getTVAlternativeTitles(int tvID) throws MovieDbException
tvID - MovieDbExceptionpublic ResultList<ChangeKeyItem> getTVChanges(int tvID, String startDate, String endDate) throws MovieDbException
tvID - startDate - endDate - MovieDbExceptionpublic ResultList<ContentRating> getTVContentRatings(int tvID) throws MovieDbException
tvID - MovieDbExceptionpublic MediaCreditList getTVCredits(int tvID, String language) throws MovieDbException
tvID - language - MovieDbExceptionpublic ExternalID getTVExternalIDs(int tvID, String language) throws MovieDbException
tvID - language - MovieDbExceptionpublic ResultList<Artwork> getTVImages(int tvID, String language, String... includeImageLanguage) throws MovieDbException
tvID - language - includeImageLanguage - MovieDbExceptionpublic ResultList<Keyword> getTVKeywords(int tvID) throws MovieDbException
tvID - MovieDbExceptionpublic StatusCode postTVRating(int tvID, int rating, String sessionID, String guestSessionID) throws MovieDbException
tvID - rating - sessionID - guestSessionID - MovieDbExceptionpublic ResultList<TVInfo> getTVSimilar(int tvID, Integer page, String language) throws MovieDbException
tvID - page - language - MovieDbExceptionpublic ResultList<Translation> getTVTranslations(int tvID) throws MovieDbException
tvID - MovieDbExceptionpublic ResultList<Video> getTVVideos(int tvID, String language) throws MovieDbException
tvID - language - MovieDbExceptionpublic TVInfo getLatestTV() throws MovieDbException
MovieDbExceptionpublic ResultList<TVInfo> getTVOnTheAir(Integer page, String language) throws MovieDbException
page - language - MovieDbExceptionpublic ResultList<TVInfo> getTVAiringToday(Integer page, String language, String timezone) throws MovieDbException
page - language - timezone - MovieDbExceptionpublic ResultList<TVInfo> getTVTopRated(Integer page, String language) throws MovieDbException
page - language - MovieDbExceptionpublic ResultList<TVInfo> getTVPopular(Integer page, String language) throws MovieDbException
page - language - MovieDbExceptionCopyright © 2012–2017. All rights reserved.