public class TheMovieDbApi extends Object
This is for version 3 of the API as specified here: http://help.themoviedb.org/kb/api/about-3
| Constructor and Description |
|---|
TheMovieDbApi(String apiKey)
API for The Movie Db.
|
TheMovieDbApi(String apiKey,
org.apache.http.client.HttpClient httpClient)
API for The Movie Db.
|
| Modifier and Type | Method and Description |
|---|---|
StatusCode |
addItemToList(String sessionId,
String listId,
Integer mediaId)
This method lets users add new items to a list that they created.
|
StatusCode |
addToWatchList(String sessionId,
int accountId,
MediaType mediaType,
Integer mediaId)
Add a movie to an accounts watch list.
|
boolean |
checkItemStatus(String listId,
Integer mediaId)
Check to see if an item is already on a list.
|
URL |
createImageUrl(String imagePath,
String requiredSize)
Generate the full image URL from the size and image path
|
String |
createList(String sessionId,
String name,
String description)
This method lets users create a new list.
|
StatusCode |
deleteList(String sessionId,
String listId)
This method lets users delete a list that they created.
|
FindResults |
find(String id,
ExternalSource externalSource,
String language)
You con use this method to find movies, tv series or persons using
external ids.
|
Account |
getAccount(String sessionId)
Get the basic information for an account.
|
TokenAuthorisation |
getAuthorisationToken()
This method is used to generate a valid request token for user based
authentication.
|
ResultList<Artwork> |
getCollectionImages(int collectionId,
String language)
Get all of the images for a particular collection by collection id.
|
CollectionInfo |
getCollectionInfo(int collectionId,
String language)
This method is used to retrieve all of the basic information about a
movie collection.
|
Company |
getCompanyInfo(int companyId)
This method is used to retrieve the basic information about a production
company on TMDb.
|
ResultList<MovieBasic> |
getCompanyMovies(int companyId,
String language,
Integer page)
This method is used to retrieve the movies associated with a company.
|
Configuration |
getConfiguration()
Get the configuration information
|
CreditInfo |
getCreditInfo(String creditId,
String language)
Get the detailed information about a particular credit record.
|
ResultList<MovieBasic> |
getDiscoverMovies(Discover discover)
Discover movies by different types of data like average rating, number of
votes, genres and certifications.
|
ResultList<TVBasic> |
getDiscoverTV(Discover discover)
Discover movies by different types of data like average rating, number of
votes, genres and certifications.
|
MediaState |
getEpisodeAccountState(int tvID,
int seasonNumber,
int episodeNumber,
String sessionID)
This method lets users get the status of whether or not the TV episode
has been rated.
|
ResultList<ChangeKeyItem> |
getEpisodeChanges(int episodeID,
String startDate,
String endDate)
Look up a TV episode's changes by episode ID
|
MediaCreditList |
getEpisodeCredits(int tvID,
int seasonNumber,
int episodeNumber)
Get the TV episode credits by combination of season and episode number.
|
ExternalID |
getEpisodeExternalID(int tvID,
int seasonNumber,
int episodeNumber,
String language)
Get the external ids for a TV episode by comabination of a season and
episode number.
|
ResultList<Artwork> |
getEpisodeImages(int tvID,
int seasonNumber,
int episodeNumber)
Get the images (episode stills) for a TV episode by combination of a
season and episode number.
|
TVEpisodeInfo |
getEpisodeInfo(int tvID,
int seasonNumber,
int episodeNumber,
String language,
String... appendToResponse)
Get the primary information about a TV episode by combination of a season
and episode number.
|
ResultList<Video> |
getEpisodeVideos(int tvID,
int seasonNumber,
int episodeNumber,
String language)
Get the videos that have been added to a TV episode (teasers, clips,
etc...)
|
ResultList<MovieBasic> |
getFavoriteMovies(String sessionId,
int accountId)
Get the account favourite movies
|
ResultList<TVBasic> |
getFavoriteTv(String sessionId,
int accountId)
Get the list of favorite TV series for an account.
|
ResultList<Genre> |
getGenreMovieList(String language)
Get the list of Movie genres.
|
ResultList<MovieBasic> |
getGenreMovies(int genreId,
String language,
Integer page,
Boolean includeAllMovies,
Boolean includeAdult)
Get a list of movies per genre.
|
ResultList<Genre> |
getGenreTVList(String language)
Get the list of TV genres..
|
ResultList<MovieBasic> |
getGuestRatedMovies(String guestSessionId,
String language,
Integer page,
SortBy sortBy)
Get a list of rated movies for a specific guest session id.
|
TokenSession |
getGuestSessionToken()
This method is used to generate a guest session id.
|
ResultList<JobDepartment> |
getJobs()
Get a list of valid jobs
|
Keyword |
getKeyword(String keywordId)
Get the basic information for a specific keyword id.
|
ResultList<MovieBasic> |
getKeywordMovies(String keywordId,
String language,
Integer page)
Get the list of movies for a particular keyword by id.
|
MovieInfo |
getLatestMovie()
This method is used to retrieve the newest movie that was added to TMDb.
|
TVInfo |
getLatestTV()
Get the latest TV show id.
|
ListItem<MovieInfo> |
getList(String listId)
Get a list by its ID
|
MediaState |
getMovieAccountState(int movieId,
String sessionId)
This method lets a user get the status of whether or not the movie has
been rated or added to their favourite or movie watch list.
|
ResultList<AlternativeTitle> |
getMovieAlternativeTitles(int movieId,
String country)
This method is used to retrieve all of the alternative titles we have for
a particular movie.
|
ResultList<ChangeListItem> |
getMovieChangeList(Integer page,
String startDate,
String endDate)
Get a list of Movie IDs that have been edited.
|
ResultList<ChangeKeyItem> |
getMovieChanges(int movieId,
String startDate,
String endDate)
Get the changes for a specific movie ID.
|
MediaCreditList |
getMovieCredits(int movieId)
Get the cast and crew information for a specific movie id.
|
ResultList<Artwork> |
getMovieImages(int movieId,
String language)
This method should be used when you’re wanting to retrieve all of the
images for a particular movie.
|
MovieInfo |
getMovieInfo(int movieId,
String language,
String... appendToResponse)
This method is used to retrieve all of the basic movie information.
|
MovieInfo |
getMovieInfoImdb(String imdbId,
String language,
String... appendToResponse)
This method is used to retrieve all of the basic movie information.
|
ResultList<Keyword> |
getMovieKeywords(int movieId)
This method is used to retrieve all of the keywords that have been added
to a particular movie.
|
ResultList<UserList> |
getMovieLists(int movieId,
Integer page,
String language)
Get the lists that the movie belongs to
|
ResultList<ReleaseInfo> |
getMovieReleaseInfo(int movieId,
String language)
This method is used to retrieve all of the release and certification data
we have for a specific movie.
|
ResultList<Review> |
getMovieReviews(int movieId,
Integer page,
String language)
Get the reviews for a particular movie id.
|
ResultsMap<String,List<Certification>> |
getMoviesCertification()
Get a list of movies certification.
|
ResultList<Translation> |
getMovieTranslations(int movieId)
This method is used to retrieve a list of the available translations for
a specific movie.
|
ResultList<Video> |
getMovieVideos(int movieId,
String language)
This method is used to retrieve all of the trailers for a particular
movie.
|
Network |
getNetworkInfo(int networkId)
This method is used to retrieve the basic information about a TV network.
|
ResultList<MovieInfo> |
getNowPlayingMovies(Integer page,
String language)
This method is used to retrieve the movies currently in theatres.
|
ResultList<ChangeListItem> |
getPersonChangeList(Integer page,
String startDate,
String endDate)
Get a list of PersonInfo IDs that have been edited.
|
ResultList<ChangeKeyItem> |
getPersonChanges(int personId,
String startDate,
String endDate)
Get the changes for a specific person id.
|
PersonCreditList<CreditBasic> |
getPersonCombinedCredits(int personId,
String language)
Get the combined (movie and TV) credits for a specific person id.
|
ExternalID |
getPersonExternalIds(int personId)
Get the external ids for a specific person id.
|
ResultList<Artwork> |
getPersonImages(int personId)
Get the images for a specific person id.
|
PersonInfo |
getPersonInfo(int personId,
String... appendToResponse)
Get the general person information for a specific id.
|
PersonInfo |
getPersonLatest()
Get the latest person id.
|
PersonCreditList<CreditMovieBasic> |
getPersonMovieCredits(int personId,
String language)
Get the movie credits for a specific person id.
|
ResultList<PersonFind> |
getPersonPopular(Integer page)
Get the list of popular people on The Movie Database.
|
ResultList<ArtworkMedia> |
getPersonTaggedImages(int personId,
Integer page,
String language)
Get the images that have been tagged with a specific person id.
|
PersonCreditList<CreditTVBasic> |
getPersonTVCredits(int personId,
String language)
Get the TV credits for a specific person id.
|
ResultList<MovieInfo> |
getPopularMovieList(Integer page,
String language)
This method is used to retrieve the daily movie popularity list.
|
ResultList<MovieBasic> |
getRatedMovies(String sessionId,
int accountId,
Integer page,
String sortBy,
String language)
Get the list of rated movies (and associated rating) for an account.
|
ResultList<TVBasic> |
getRatedTV(String sessionId,
int accountId,
Integer page,
String sortBy,
String language)
Get the list of rated TV shows (and associated rating) for an account.
|
Review |
getReviews(String reviewId) |
MediaState |
getSeasonAccountState(int tvID,
String sessionID)
This method lets users get the status of whether or not the TV episodes
of a season have been rated.
|
ResultList<ChangeKeyItem> |
getSeasonChanges(int tvID,
String startDate,
String endDate)
Look up a TV season's changes by season ID.
|
MediaCreditList |
getSeasonCredits(int tvID,
int seasonNumber)
Get the cast & crew credits for a TV season by season number.
|
ExternalID |
getSeasonExternalID(int tvID,
int seasonNumber,
String language)
Get the external ids that we have stored for a TV season by season
number.
|
ResultList<Artwork> |
getSeasonImages(int tvID,
int seasonNumber,
String language,
String... includeImageLanguage)
Get the images that we have stored for a TV season by season number.
|
TVSeasonInfo |
getSeasonInfo(int tvID,
int seasonNumber,
String language,
String... appendToResponse)
Get the primary information about a TV season by its season number.
|
ResultList<Video> |
getSeasonVideos(int tvID,
int seasonNumber,
String language)
Get the videos that have been added to a TV season (trailers, teasers,
etc...)
|
TokenSession |
getSessionToken(TokenAuthorisation token)
This method is used to generate a session id for user based
authentication.
|
TokenAuthorisation |
getSessionTokenLogin(TokenAuthorisation token,
String username,
String password)
This method is used to generate a session id for user based
authentication.
|
ResultList<MovieInfo> |
getSimilarMovies(int movieId,
Integer page,
String language)
The similar movies method will let you retrieve the similar movies for a
particular movie.
|
ResultsMap<String,List<String>> |
getTimezones()
Get the list of supported timezones for the API methods that support
them.
|
ResultList<MovieInfo> |
getTopRatedMovies(Integer page,
String language)
This method is used to retrieve the top rated movies that have over 10
votes on TMDb.
|
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.
|
ResultsMap<String,List<Certification>> |
getTvCertification()
Get a list of tv certification.
|
ResultList<ChangeListItem> |
getTvChangeList(Integer page,
String startDate,
String endDate)
Get a list of TV IDs that have been edited.
|
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...)
|
ResultList<MovieInfo> |
getUpcoming(Integer page,
String language)
Get the list of upcoming movies.
|
ResultList<UserList> |
getUserLists(String sessionId,
int accountId)
Get all lists of a given user
|
ResultList<MovieBasic> |
getWatchListMovie(String sessionId,
int accountId,
Integer page,
String sortBy,
String language)
Get the list of movies on an accounts watchlist.
|
ResultList<TVBasic> |
getWatchListTV(String sessionId,
int accountId,
Integer page,
String sortBy,
String language)
Get the list of movies on an accounts watchlist.
|
StatusCode |
modifyFavoriteStatus(String sessionId,
int accountId,
Integer mediaId,
MediaType mediaType,
boolean isFavorite)
Add or remove a movie to an accounts favourite list.
|
StatusCode |
postEpisodeRating(int tvID,
int seasonNumber,
int episodeNumber,
int rating,
String sessionID,
String guestSessionID)
This method lets users rate a TV episode.
|
StatusCode |
postMovieRating(int movieId,
int rating,
String sessionId,
String guestSessionId)
This method lets users rate a movie.
|
StatusCode |
postTVRating(int tvID,
int rating,
String sessionID,
String guestSessionID)
This method lets users rate a TV show.
|
StatusCode |
removeFromWatchList(String sessionId,
int accountId,
MediaType mediaType,
Integer mediaId)
Remove a movie from an accounts watch list.
|
StatusCode |
removeItemFromList(String sessionId,
String listId,
Integer mediaId)
This method lets users remove items from a list that they created.
|
ResultList<Collection> |
searchCollection(String query,
Integer page,
String language)
Search for collections by name.
|
ResultList<Company> |
searchCompanies(String query,
Integer page)
Search Companies.
|
ResultList<Keyword> |
searchKeyword(String query,
Integer page)
Search for keywords by name
|
ResultList<UserList> |
searchList(String query,
Integer page,
Boolean includeAdult)
Search for lists by name and description.
|
ResultList<MovieInfo> |
searchMovie(String query,
Integer page,
String language,
Boolean includeAdult,
Integer searchYear,
Integer primaryReleaseYear,
SearchType searchType)
Search Movies This is a good starting point to start finding movies on
TMDb.
|
ResultList<MediaBasic> |
searchMulti(String query,
Integer page,
String language,
Boolean includeAdult)
Search the movie, tv show and person collections with a single query.
|
ResultList<PersonFind> |
searchPeople(String query,
Integer page,
Boolean includeAdult,
SearchType searchType)
This is a good starting point to start finding people on TMDb.
|
ResultList<TVBasic> |
searchTV(String query,
Integer page,
String language,
Integer firstAirDateYear,
SearchType searchType)
Search for TV shows by title.
|
public TheMovieDbApi(String apiKey) throws MovieDbException
apiKey - MovieDbExceptionpublic TheMovieDbApi(String apiKey, org.apache.http.client.HttpClient httpClient) throws MovieDbException
apiKey - httpClient - The httpClient to use for web requests.MovieDbExceptionpublic Account getAccount(String sessionId) throws MovieDbException
sessionId - MovieDbExceptionpublic ResultList<UserList> getUserLists(String sessionId, int accountId) throws MovieDbException
sessionId - accountId - MovieDbExceptionpublic ResultList<MovieBasic> getFavoriteMovies(String sessionId, int accountId) throws MovieDbException
sessionId - accountId - MovieDbExceptionpublic StatusCode modifyFavoriteStatus(String sessionId, int accountId, Integer mediaId, MediaType mediaType, boolean isFavorite) throws MovieDbException
sessionId - accountId - mediaId - mediaType - isFavorite - MovieDbExceptionpublic ResultList<MovieBasic> getRatedMovies(String sessionId, int accountId, Integer page, String sortBy, String language) throws MovieDbException
sessionId - accountId - page - sortBy - language - MovieDbExceptionpublic ResultList<TVBasic> getRatedTV(String sessionId, int accountId, Integer page, String sortBy, String language) throws MovieDbException
sessionId - accountId - page - sortBy - language - MovieDbExceptionpublic ResultList<MovieBasic> getWatchListMovie(String sessionId, int accountId, Integer page, String sortBy, String language) throws MovieDbException
sessionId - accountId - page - sortBy - language - MovieDbExceptionpublic ResultList<TVBasic> getWatchListTV(String sessionId, int accountId, Integer page, String sortBy, String language) throws MovieDbException
sessionId - accountId - page - sortBy - language - MovieDbExceptionpublic StatusCode addToWatchList(String sessionId, int accountId, MediaType mediaType, Integer mediaId) throws MovieDbException
sessionId - accountId - mediaId - mediaType - MovieDbExceptionpublic StatusCode removeFromWatchList(String sessionId, int accountId, MediaType mediaType, Integer mediaId) throws MovieDbException
sessionId - accountId - mediaId - mediaType - MovieDbExceptionpublic ResultList<TVBasic> getFavoriteTv(String sessionId, int accountId) throws MovieDbException
sessionId - accountId - MovieDbExceptionpublic ResultList<MovieBasic> getGuestRatedMovies(String guestSessionId, String language, Integer page, SortBy sortBy) throws MovieDbException
guestSessionId - language - page - sortBy - only CREATED_AT_ASC or CREATED_AT_DESC is supportedMovieDbExceptionpublic TokenAuthorisation getAuthorisationToken() throws MovieDbException
MovieDbExceptionpublic TokenSession getSessionToken(TokenAuthorisation token) throws MovieDbException
token - MovieDbExceptionpublic TokenAuthorisation getSessionTokenLogin(TokenAuthorisation token, String username, String password) throws MovieDbException
token - Session tokenusername - User's usernamepassword - User's passwordMovieDbExceptionpublic TokenSession getGuestSessionToken() throws MovieDbException
MovieDbExceptionpublic ResultsMap<String,List<Certification>> getMoviesCertification() throws MovieDbException
MovieDbExceptionpublic ResultsMap<String,List<Certification>> getTvCertification() throws MovieDbException
MovieDbExceptionpublic ResultList<ChangeListItem> getMovieChangeList(Integer page, String startDate, String endDate) throws MovieDbException
page - startDate - the start date of the changes, optionalendDate - the end date of the changes, optionalMovieDbExceptionpublic ResultList<ChangeListItem> getTvChangeList(Integer page, String startDate, String endDate) throws MovieDbException
page - startDate - the start date of the changes, optionalendDate - the end date of the changes, optionalMovieDbExceptionpublic ResultList<ChangeListItem> getPersonChangeList(Integer page, String startDate, String endDate) throws MovieDbException
page - startDate - the start date of the changes, optionalendDate - the end date of the changes, optionalMovieDbExceptionpublic CollectionInfo getCollectionInfo(int collectionId, String language) throws MovieDbException
collectionId - language - MovieDbExceptionpublic ResultList<Artwork> getCollectionImages(int collectionId, String language) throws MovieDbException
collectionId - language - MovieDbExceptionpublic Company getCompanyInfo(int companyId) throws MovieDbException
companyId - MovieDbExceptionpublic ResultList<MovieBasic> getCompanyMovies(int companyId, String language, Integer page) throws MovieDbException
companyId - language - page - MovieDbExceptionpublic Configuration getConfiguration() throws MovieDbException
MovieDbExceptionpublic URL createImageUrl(String imagePath, String requiredSize) throws MovieDbException
imagePath - requiredSize - MovieDbExceptionpublic ResultList<JobDepartment> getJobs() throws MovieDbException
MovieDbExceptionpublic ResultsMap<String,List<String>> getTimezones() throws MovieDbException
MovieDbExceptionpublic CreditInfo getCreditInfo(String creditId, String language) throws MovieDbException
This is currently only supported with the new credit model found in TV.
These IDs can be found from any TV credit response as well as the
TV_credits and combined_credits methods for people.
The episodes object returns a list of episodes and are generally going to
be guest stars.
The season array will return a list of season numbers.
Season credits are credits that were marked with the "add to every
season" option in the editing interface and are assumed to be "season
regulars".
creditId - language - MovieDbExceptionpublic ResultList<MovieBasic> getDiscoverMovies(Discover discover) throws MovieDbException
discover - A discover object containing the search criteria requiredMovieDbExceptionpublic ResultList<TVBasic> getDiscoverTV(Discover discover) throws MovieDbException
discover - A discover object containing the search criteria requiredMovieDbExceptionpublic FindResults find(String id, ExternalSource externalSource, String language) throws MovieDbException
id - the external idexternalSource - one of ExternalSource.language - the languageMovieDbExceptionpublic ResultList<Genre> getGenreMovieList(String language) throws MovieDbException
language - MovieDbExceptionpublic ResultList<Genre> getGenreTVList(String language) throws MovieDbException
language - MovieDbExceptionpublic ResultList<MovieBasic> getGenreMovies(int genreId, String language, Integer page, Boolean includeAllMovies, Boolean includeAdult) throws MovieDbException
genreId - language - page - includeAllMovies - includeAdult - MovieDbExceptionpublic Keyword getKeyword(String keywordId) throws MovieDbException
keywordId - MovieDbExceptionpublic ResultList<MovieBasic> getKeywordMovies(String keywordId, String language, Integer page) throws MovieDbException
keywordId - language - page - MovieDbExceptionpublic ListItem<MovieInfo> getList(String listId) throws MovieDbException
listId - MovieDbExceptionpublic String createList(String sessionId, String name, String description) throws MovieDbException
sessionId - name - description - MovieDbExceptionpublic StatusCode deleteList(String sessionId, String listId) throws MovieDbException
sessionId - listId - MovieDbExceptionpublic boolean checkItemStatus(String listId, Integer mediaId) throws MovieDbException
listId - mediaId - MovieDbExceptionpublic StatusCode addItemToList(String sessionId, String listId, Integer mediaId) throws MovieDbException
sessionId - listId - mediaId - MovieDbExceptionpublic StatusCode removeItemFromList(String sessionId, String listId, Integer mediaId) throws MovieDbException
sessionId - listId - mediaId - MovieDbExceptionpublic MovieInfo getMovieInfo(int movieId, String language, String... appendToResponse) throws MovieDbException
movieId - language - appendToResponse - MovieDbExceptionpublic MovieInfo getMovieInfoImdb(String imdbId, String language, String... appendToResponse) throws MovieDbException
imdbId - language - appendToResponse - MovieDbExceptionpublic MediaState getMovieAccountState(int movieId, String sessionId) throws MovieDbException
movieId - sessionId - MovieDbExceptionpublic ResultList<AlternativeTitle> getMovieAlternativeTitles(int movieId, String country) throws MovieDbException
movieId - country - MovieDbExceptionpublic MediaCreditList getMovieCredits(int movieId) throws MovieDbException
movieId - MovieDbExceptionpublic ResultList<Artwork> getMovieImages(int movieId, String language) throws MovieDbException
movieId - language - MovieDbExceptionpublic ResultList<Keyword> getMovieKeywords(int movieId) throws MovieDbException
movieId - MovieDbExceptionpublic ResultList<ReleaseInfo> getMovieReleaseInfo(int movieId, String language) throws MovieDbException
movieId - language - MovieDbExceptionpublic ResultList<Video> getMovieVideos(int movieId, String language) throws MovieDbException
movieId - language - MovieDbExceptionpublic ResultList<Translation> getMovieTranslations(int movieId) throws MovieDbException
movieId - MovieDbExceptionpublic ResultList<MovieInfo> getSimilarMovies(int movieId, Integer page, String language) throws MovieDbException
movieId - language - page - MovieDbExceptionpublic ResultList<Review> getMovieReviews(int movieId, Integer page, String language) throws MovieDbException
movieId - page - language - MovieDbExceptionpublic ResultList<UserList> getMovieLists(int movieId, Integer page, String language) throws MovieDbException
movieId - language - page - MovieDbExceptionpublic ResultList<ChangeKeyItem> getMovieChanges(int movieId, String startDate, String endDate) throws MovieDbException
movieId - startDate - endDate - MovieDbExceptionpublic StatusCode postMovieRating(int movieId, int rating, String sessionId, String guestSessionId) throws MovieDbException
sessionId - movieId - rating - guestSessionId - MovieDbExceptionpublic MovieInfo getLatestMovie() throws MovieDbException
MovieDbExceptionpublic ResultList<MovieInfo> getUpcoming(Integer page, String language) throws MovieDbException
language - page - MovieDbExceptionpublic ResultList<MovieInfo> getNowPlayingMovies(Integer page, String language) throws MovieDbException
language - page - MovieDbExceptionpublic ResultList<MovieInfo> getPopularMovieList(Integer page, String language) throws MovieDbException
language - page - MovieDbExceptionpublic ResultList<MovieInfo> getTopRatedMovies(Integer page, String language) throws MovieDbException
language - page - MovieDbExceptionpublic Network getNetworkInfo(int networkId) throws MovieDbException
You can use this ID to search for TV shows with the discover method.
networkId - MovieDbExceptionpublic PersonInfo getPersonInfo(int personId, String... appendToResponse) throws MovieDbException
personId - appendToResponse - MovieDbExceptionpublic PersonCreditList<CreditMovieBasic> getPersonMovieCredits(int personId, String language) throws MovieDbException
personId - language - MovieDbExceptionpublic PersonCreditList<CreditTVBasic> getPersonTVCredits(int personId, String language) throws MovieDbException
personId - language - MovieDbExceptionpublic PersonCreditList<CreditBasic> getPersonCombinedCredits(int personId, String language) throws MovieDbException
personId - language - MovieDbExceptionpublic ExternalID getPersonExternalIds(int personId) throws MovieDbException
personId - MovieDbExceptionpublic ResultList<Artwork> getPersonImages(int personId) throws MovieDbException
personId - MovieDbExceptionpublic ResultList<ArtworkMedia> getPersonTaggedImages(int personId, Integer page, String language) throws MovieDbException
personId - page - language - MovieDbExceptionpublic ResultList<ChangeKeyItem> getPersonChanges(int personId, String startDate, String endDate) throws MovieDbException
personId - startDate - endDate - MovieDbExceptionpublic ResultList<PersonFind> getPersonPopular(Integer page) throws MovieDbException
page - MovieDbExceptionpublic PersonInfo getPersonLatest() throws MovieDbException
MovieDbExceptionpublic Review getReviews(String reviewId) throws MovieDbException
reviewId - MovieDbExceptionpublic ResultList<Company> searchCompanies(String query, Integer page) throws MovieDbException
query - page - MovieDbExceptionpublic ResultList<Collection> searchCollection(String query, Integer page, String language) throws MovieDbException
query - language - page - MovieDbExceptionpublic ResultList<Keyword> searchKeyword(String query, Integer page) throws MovieDbException
query - page - MovieDbExceptionpublic ResultList<UserList> searchList(String query, Integer page, Boolean includeAdult) throws MovieDbException
query - includeAdult - page - MovieDbExceptionpublic ResultList<MovieInfo> searchMovie(String query, Integer page, String language, Boolean includeAdult, Integer searchYear, Integer primaryReleaseYear, SearchType searchType) throws MovieDbException
query - searchYear - Limit the search to the provided year. Zero (0) will
get all yearslanguage - The language to include. Can be blank/null.includeAdult - true or false to include adult titles in the searchpage - The page of results to return. 0 to get the default (first
page)primaryReleaseYear - searchType - MovieDbExceptionpublic ResultList<MediaBasic> searchMulti(String query, Integer page, String language, Boolean includeAdult) throws MovieDbException
query - page - language - includeAdult - MovieDbExceptionpublic ResultList<PersonFind> searchPeople(String query, Integer page, Boolean includeAdult, SearchType searchType) throws MovieDbException
query - includeAdult - page - searchType - MovieDbExceptionpublic ResultList<TVBasic> searchTV(String query, Integer page, String language, Integer firstAirDateYear, SearchType searchType) throws MovieDbException
query - page - language - firstAirDateYear - searchType - MovieDbExceptionpublic 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 - MovieDbExceptionpublic TVSeasonInfo getSeasonInfo(int tvID, int seasonNumber, String language, String... appendToResponse) throws MovieDbException
tvID - seasonNumber - language - appendToResponse - MovieDbExceptionpublic ResultList<ChangeKeyItem> getSeasonChanges(int tvID, String startDate, String endDate) throws MovieDbException
tvID - startDate - endDate - MovieDbExceptionpublic MediaState getSeasonAccountState(int tvID, String sessionID) throws MovieDbException
tvID - sessionID - MovieDbExceptionpublic MediaCreditList getSeasonCredits(int tvID, int seasonNumber) throws MovieDbException
tvID - seasonNumber - MovieDbExceptionpublic ExternalID getSeasonExternalID(int tvID, int seasonNumber, String language) throws MovieDbException
tvID - seasonNumber - language - MovieDbExceptionpublic ResultList<Artwork> getSeasonImages(int tvID, int seasonNumber, String language, String... includeImageLanguage) throws MovieDbException
tvID - seasonNumber - language - includeImageLanguage - MovieDbExceptionpublic ResultList<Video> getSeasonVideos(int tvID, int seasonNumber, String language) throws MovieDbException
tvID - seasonNumber - language - MovieDbExceptionpublic TVEpisodeInfo getEpisodeInfo(int tvID, int seasonNumber, int episodeNumber, String language, String... appendToResponse) throws MovieDbException
tvID - seasonNumber - episodeNumber - language - appendToResponse - MovieDbExceptionpublic ResultList<ChangeKeyItem> getEpisodeChanges(int episodeID, String startDate, String endDate) throws MovieDbException
episodeID - startDate - endDate - MovieDbExceptionpublic MediaState getEpisodeAccountState(int tvID, int seasonNumber, int episodeNumber, String sessionID) throws MovieDbException
tvID - seasonNumber - episodeNumber - sessionID - MovieDbExceptionpublic MediaCreditList getEpisodeCredits(int tvID, int seasonNumber, int episodeNumber) throws MovieDbException
tvID - seasonNumber - episodeNumber - MovieDbExceptionpublic ExternalID getEpisodeExternalID(int tvID, int seasonNumber, int episodeNumber, String language) throws MovieDbException
tvID - seasonNumber - episodeNumber - language - MovieDbExceptionpublic ResultList<Artwork> getEpisodeImages(int tvID, int seasonNumber, int episodeNumber) throws MovieDbException
tvID - seasonNumber - episodeNumber - MovieDbExceptionpublic StatusCode postEpisodeRating(int tvID, int seasonNumber, int episodeNumber, int rating, String sessionID, String guestSessionID) throws MovieDbException
tvID - seasonNumber - episodeNumber - rating - sessionID - guestSessionID - MovieDbExceptionpublic ResultList<Video> getEpisodeVideos(int tvID, int seasonNumber, int episodeNumber, String language) throws MovieDbException
tvID - seasonNumber - episodeNumber - language - MovieDbExceptionCopyright © 2012-2016. All Rights Reserved.