getRecentlyAdded method

Future<List<TautulliRecentlyAdded>> getRecentlyAdded({
  1. required int count,
  2. int? start,
  3. TautulliMediaType? mediaType,
  4. int? sectionId,
})

Handler for get_recently_added.

Get all items that were recently added to Plex.

Required Parameters:

  • count: Number of items to return

Optional Parameters:

  • start: Starting index within the table
  • mediaType: Filter results to only this media type
  • sectionId: Filter results to only the library with this section ID

Implementation

Future<List<TautulliRecentlyAdded>> getRecentlyAdded({
    required int count,
    int? start,
    TautulliMediaType? mediaType,
    int? sectionId,
}) async => _commandGetRecentlyAdded(_client, count: count, start: start, mediaType: mediaType, sectionId: sectionId);