Files
plexcsharp/docs/sdks/statistics/README.md

1.7 KiB
Raw Blame History

Statistics

(Statistics)

Overview

API Calls that perform operations with Plex Media Server Statistics

Available Operations

GetStatistics

This will return the media statistics for the server

Example Usage

using PlexAPI;
using PlexAPI.Models.Components;
using PlexAPI.Models.Requests;

var sdk = new PlexAPISDK(AccessToken: "<YOUR_API_KEY_HERE>");

var res = await sdk.Statistics.GetStatisticsAsync(timespan: 411769);

// handle response

Parameters

Parameter Type Required Description
Timespan long The timespan to retrieve statistics for
the exact meaning of this parameter is not known

Response

GetStatisticsResponse