getMostPlayedShows method

Future<List<PlayedWatchedCollectedShow>> getMostPlayedShows(
  1. TimePeriod period, {
  2. bool extendedFull = false,
  3. RequestPagination? pagination,
  4. ShowFilters? filters,
})

Returns the most played (a single user can watch multiple episodes multiple times) shows in the specified time period, defaulting to weekly.

All stats are relative to the specific time period.

period - time period. Possible values: daily , weekly , monthly , yearly , all

📄 Pagination ✨ Extended Info 🎚 Filters

Implementation

Future<List<PlayedWatchedCollectedShow>> getMostPlayedShows(TimePeriod period,
    {bool extendedFull = false,
    RequestPagination? pagination,
    ShowFilters? filters}) async {
  return await _manager._getList("shows/played/${period.value}",
      extendedFull: extendedFull, pagination: pagination, filters: filters);
}