Trakt['calendars/all/*']

class trakt.interfaces.calendars.AllCalendarsInterface(client)
get(media, collection=None, start_date=None, days=None, **kwargs)

Retrieve calendar items.

The all calendar displays info for all shows airing during the specified period. The my calendar displays episodes for all shows that have been watched, collected, or watchlisted.

Parameters:
  • source (str) – Calendar source (all or my)
  • media (str) – Media type (dvd, movies or shows)
  • collection (str or None) – Collection type (new, premieres)
  • start_date (datetime or None) – Start date (defaults to today)
  • days (int or None) – Number of days to display (defaults to 7)
  • query (str or None) – Search title or description.
  • years (int or str or tuple or None) – Year or range of years (e.g. 2014, or 2014-2016)
  • genres (str or list of str or None) – Genre slugs (e.g. action)
  • languages (str or list of str or None) – Language codes (e.g. en)
  • countries (str or list of str or None) – Country codes (e.g. us)
  • runtimes (str or tuple or None) – Runtime range in minutes (e.g. 30-90)
  • ratings (str or tuple or None) – Rating range between 0 and 100 (e.g. 75-100)
  • certifications (str or list of str or None) – US Content Certification (e.g. pg-13, tv-pg)
  • networks (str or list of str or None) – (TV) Network name (e.g. HBO)
  • status (str or list of str or None) – (TV) Show status (e.g. returning series, in production, ended`)
Returns:

Items

Return type:

list of trakt.objects.video.Video

new(media, **kwargs)
premieres(media, **kwargs)