From c0f7f1a4091c818d7849fcf84c44b5e51c4a24b7 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Mon, 15 Mar 2021 14:06:17 -0700 Subject: [PATCH] Update get_home_stats API docs --- plexpy/webserve.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plexpy/webserve.py b/plexpy/webserve.py index 84d8e651..138a60f4 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -6044,7 +6044,7 @@ class WebInterface(object): stats_start (int) The row number of the stat item to start at, 0 stats_count (int): The number of stat items to return, 5 stat_id (str): A single stat to return, 'top_movies', 'popular_movies', - 'top_tv', 'popular_tv', 'top_music', 'popular_music', + 'top_tv', 'popular_tv', 'top_music', 'popular_music', 'top_libraries', 'top_users', 'top_platforms', 'last_watched', 'most_concurrent' Returns: @@ -6096,6 +6096,10 @@ class WebInterface(object): {"stat_id": "last_watched", "rows": [{...}] }, + {"stat_id": "top_libraries", + "stat_type": "total_plays", + "rows": [{...}] + }, {"stat_id": "top_users", "stat_type": "total_plays", "rows": [{...}]