getRecentlyAdded method
Future<List<TautulliRecentlyAdded> >
getRecentlyAdded({
- required int count,
- int? start,
- TautulliMediaType? mediaType,
- 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 tablemediaType
: Filter results to only this media typesectionId
: 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);