getPlaysPerMonth method

Future<TautulliGraphData> getPlaysPerMonth({
  1. int? timeRange,
  2. int? userId,
  3. bool? grouping,
  4. TautulliGraphYAxis? yAxis,
})

Handler for get_plays_per_month.

Get graph data by month.

Optional Parameters:

  • timeRange: The amount of months to fetch data for. Minimum value of 1, anything below 1 will return the default time range (12 months)
  • userId: User ID to filter the data for
  • grouping: Group data
  • yAxis: What key to use for the Y-Axis in the data

Implementation

Future<TautulliGraphData> getPlaysPerMonth({
    int? timeRange,
    int? userId,
    bool? grouping,
    TautulliGraphYAxis? yAxis,
}) async => _commandGetPlaysPerMonth(_client, timeRange: timeRange, userId: userId, grouping: grouping, yAxis: yAxis);