get_history: Get Playback History

View source: R/get_history.R

get_historyR Documentation

Get Playback History

Description

Get Playback History

Usage

get_history(
  url = NULL,
  apikey = NULL,
  grouping = 0,
  user = NULL,
  user_id = NULL,
  rating_key = NULL,
  parent_rating_key = NULL,
  grandparent_rating_key = NULL,
  start_date = NULL,
  section_id = NULL,
  media_type = NULL,
  transcode_decision = NULL,
  order_column = NULL,
  order_dir = "desc",
  start = 0,
  length = 25,
  search = NULL
)

Arguments

url

Server URL.

apikey

API key.

grouping

0 (default) or 1

user

"Jon Snow"

user_id

133788

rating_key

4348

parent_rating_key

544

grandparent_rating_key

351

start_date

"YYYY-MM-DD"

section_id

2

media_type

"movie", "episode", "track"

transcode_decision

"direct play", "copy", "transcode",

order_column

"date", "friendly_name", "ip_address", "platform", "player", "full_title", "started", "paused_counter", "stopped", "duration"

order_dir

"desc" (default) or "asc"

start

Row to start from, 0 (default)

length

Number of items to return, 25

search

A string to search for, "Thrones"

Value

A list with totals and the history as tbl

Source

https://github.com/Tautulli/Tautulli/blob/master/API.md#get_history

Examples

## Not run: 
get_history(length = 10)

## End(Not run)

jemus42/tauturri documentation built on Feb. 7, 2024, 2 a.m.