get_home_stats: Get Home Stats

View source: R/get_home_stats.R

get_home_statsR Documentation

Get Home Stats

Description

The data displayed on the Tautulli home.

Usage

get_home_stats(
  url = NULL,
  apikey = NULL,
  grouping = 0,
  time_range = 30,
  stats_type = 0,
  stats_count = 5
)

Arguments

url

Server URL.

apikey

API key.

grouping

0 or 1

time_range

The time range to calculate statistics, default is 30

stats_type

0 for plays (default), 1 for duration

stats_count

The number of top items to list, default is 5

Value

A list of length 10, with tbls for each category of stats.

Source

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

Examples

## Not run: 
get_home_stats()

## End(Not run)

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