public class TmdbMovies extends AbstractMethod
apiKey, httpTools, MAPPER| Constructor and Description |
|---|
TmdbMovies(String apiKey,
HttpTools httpTools)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
MovieInfo |
getLatestMovie()
This method is used to retrieve the newest movie that was added to TMDb.
|
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<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.
|
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.
|
ResultList<MovieInfo> |
getNowPlayingMovies(Integer page,
String language)
This method is used to retrieve the movies currently in theatres.
|
ResultList<MovieInfo> |
getPopularMovieList(Integer page,
String language)
This method is used to retrieve the daily movie popularity list.
|
ResultList<ReleaseDates> |
getReleaseDates(int movieId)
Get the release dates, certifications and related information by country for a specific movie id.
|
ResultList<MovieInfo> |
getSimilarMovies(int movieId,
Integer page,
String language)
The similar movies method will let you retrieve the similar movies for a particular movie.
|
ResultList<MovieInfo> |
getTopRatedMovies(Integer page,
String language)
This method is used to retrieve the top rated movies that have over 10 votes on TMDb.
|
ResultList<MovieInfo> |
getUpcoming(Integer page,
String language)
Get the list of upcoming movies.
|
StatusCode |
postMovieRating(int movieId,
int rating,
String sessionId,
String guestSessionId)
This method lets users rate a movie.
|
getMediaChanges, getTypeReference, processWrapper, processWrapperListpublic 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<ReleaseDates> getReleaseDates(int movieId) throws MovieDbException
movieId - 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 - MovieDbExceptionCopyright © 2012–2017. All rights reserved.