Movies class

Inheritance

Constructors

Movies(TraktManager manager)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getBoxOfficeMovies({bool extendedFull = false}) Future<List<BoxOfficeMovie>>
Returns the top 10 grossing movies in the U.S. box office last weekend. Updated every Monday morning.
getMostAnticipatedMovies({bool extendedFull = false, RequestPagination? pagination, MovieFilters? filters}) Future<List<AnticipatedMovie>>
Returns the most anticipated movies based on the number of lists a movie appears on.
getMostCollectedMovies(TimePeriod period, {bool extendedFull = false, RequestPagination? pagination, MovieFilters? filters}) Future<List<PlayedWatchedCollectedMovie>>
Returns the most collected (unique users) movies in the specified time period, defaulting to weekly. All stats are relative to the specific time period.
getMostPlayedMovies(TimePeriod period, {bool extendedFull = false, RequestPagination? pagination, MovieFilters? filters}) Future<List<PlayedWatchedCollectedMovie>>
Returns the most played (a single user can watch multiple times) movies in the specified time period, defaulting to weekly. All stats are relative to the specific time period.
getMostWatchedMovies(TimePeriod period, {bool extendedFull = false, RequestPagination? pagination, MovieFilters? filters}) Future<List<PlayedWatchedCollectedMovie>>
Returns the most watched (unique users) movies in the specified time period, defaulting to weekly. All stats are relative to the specific time period.
getMovieAliases(String id) Future<List<MovieShowAlias>>
Returns all title aliases for a movie. Includes country where name is different.
getMovieComments(String id, {CommentsSortBy sortBy = CommentsSortBy.newest, RequestPagination? pagination}) Future<List<Comment>>
Returns all top level comments for a movie.
getMovieLists(String id, {ListType type = ListType.personal, ListSort sortBy = ListSort.popular, RequestPagination? pagination}) Future<List<TraktList>>
Returns all lists that contain this movie.
getMoviePeople(String id, {bool extendedFull = false}) Future<MoviePeople>
Returns all cast and crew for a movie.
getMovieRatings(String id) Future<Rating>
Returns rating (between 0 and 10) and distribution for a movie.
getMovieReleases(String id, String country) Future<List<MovieRelease>>
Returns all releases for a movie including country, certification, release date, release type, and note.
getMovieStats(String id) Future<MovieStats>
Returns lots of movie stats.
getMovieSummary(String id, {bool extendedFull = false}) Future<Movie>
Returns a single movie's details.
getMovieTranslations(String id, {String language = ""}) Future<List<MovieTranslation>>
Returns all translations for a movie, including language and translated values for title, tagline and overview.
getMovieWatchers(String id, {bool extendedFull = false}) Future<List<User>>
Returns all users watching this movie right now.
getPopularMovies({bool extendedFull = false, RequestPagination? pagination, MovieFilters? filters}) Future<List<Movie>>
Returns the most popular movies. Popularity is calculated using the rating percentage and the number of ratings.
getRecommendedMovies(TimePeriod period, {bool extendedFull = false, RequestPagination? pagination, MovieFilters? filters}) Future<List<RecommendedMovie>>
Returns the most recommended movies in the specified time period, defaulting to weekly. All stats are relative to the specific time period.
getRelatedMovie(String id, {bool extendedFull = false, RequestPagination? pagination}) Future<List<Movie>>
Returns related and similar movies.
getTrendingMovies({bool extendedFull = false, RequestPagination? pagination, MovieFilters? filters}) Future<List<TrendingMovie>>
Returns all movies being watched right now. Movies with the most users are returned first.
getUpdatedMovieIds(String startDate, {RequestPagination? pagination}) Future<List<int>>
Returns all movie Trakt IDs updated since the specified UTC date and time.
getUpdatedMovies(String startDate, {bool extendedFull = false, RequestPagination? pagination}) Future<List<UpdatedMovie>>
Returns all movies updated since the specified UTC date and time.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited