Calendar class

By default, the calendar will return all shows or movies for the specified time period and can be global or user specific. The start_date defaults to today and days to 7. The maximum amount of days you can send is 33. All dates (including the start_date and first_aired) are in UTC, so it's up to your app to handle any offsets based on the user's time zone.

The my calendar displays episodes for all shows that have been watched, collected, or watchlisted plus individual episodes on the watchlist. It will remove any shows that have been hidden from the calendar. The all calendar displays info for all shows airing during the specified period.

Inheritance

Constructors

Calendar(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

getCalendarAllDvdReleases({String? startDate, int? numberOfDays, bool extendedFull = false, Filters? filters}) Future<List<MyCalendarMovie>>
Returns all movies with a DVD release date during the time period specified.
getCalendarAllMovies({String? startDate, int? numberOfDays, bool extendedFull = false, Filters? filters}) Future<List<MyCalendarMovie>>
Returns all movies with a release date during the time period specified.
getCalendarAllNewShows({String? startDate, int? numberOfDays, bool extendedFull = false, Filters? filters}) Future<List<MyCalendarShow>>
Returns all new show premieres (season 1, episode 1) airing during the time period specified.
getCalendarAllSeasonPremieres({String? startDate, int? numberOfDays, bool extendedFull = false, Filters? filters}) Future<List<MyCalendarShow>>
Returns all show premieres (any season, episode 1) airing during the time period specified.
getCalendarAllShows({String? startDate, int? numberOfDays, bool extendedFull = false, Filters? filters}) Future<List<MyCalendarShow>>
Returns all shows airing during the time period specified.
getMyCalendarMovies({String? startDate, int? numberOfDays, bool extendedFull = false, Filters? filters}) Future<List<MyCalendarMovie>>
Returns all movies with a release date during the time period specified.
getMyCalendarShows({String? startDate, int? numberOfDays, bool extendedFull = false, Filters? filters}) Future<List<MyCalendarShow>>
Returns all shows airing during the time period specified.
getMyDvdReleases({String? startDate, int? numberOfDays, bool extendedFull = false, Filters? filters}) Future<List<MyCalendarMovie>>
Returns all movies with a DVD release date during the time period specified.
getMyNewShows({String? startDate, int? numberOfDays, bool extendedFull = false, Filters? filters}) Future<List<MyCalendarShow>>
Returns all new show premieres (season 1, episode 1) airing during the time period specified.
getMySeasonPremieres({String? startDate, int? numberOfDays, bool extendedFull = false, Filters? filters}) Future<List<MyCalendarShow>>
Returns all show premieres (any season, episode 1) airing during the time period specified.
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