Class StatisticsApi
Inheritance
System.Object
StatisticsApi
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Bitmovin.Api.Sdk.Encoding.Statistics
Assembly: Bitmovin.Api.Sdk.dll
Syntax
public class StatisticsApi
Constructors
StatisticsApi(IBitmovinApiClientFactory)
Declaration
public StatisticsApi(IBitmovinApiClientFactory apiClientFactory)
Parameters
Type | Name | Description |
---|---|---|
IBitmovinApiClientFactory | apiClientFactory |
Properties
Builder
Fluent builder for creating an instance of StatisticsApi
Declaration
public static BitmovinApiBuilder<StatisticsApi> Builder { get; }
Property Value
Type | Description |
---|---|
BitmovinApiBuilder<StatisticsApi> |
Daily
Declaration
public DailyApi Daily { get; }
Property Value
Type | Description |
---|---|
DailyApi |
Encodings
Declaration
public EncodingsApi Encodings { get; }
Property Value
Type | Description |
---|---|
EncodingsApi |
Labels
Declaration
public LabelsApi Labels { get; }
Property Value
Type | Description |
---|---|
LabelsApi |
Methods
GetAsync()
Show Overall Statistics
Declaration
public Task<Statistics> GetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Statistics> |
ListAsync(Nullable<DateTime>, Nullable<DateTime>, Func<StatisticsApi.ListQueryParams, StatisticsApi.ListQueryParams>[])
Show Overall Statistics Within Specific Dates
Declaration
public Task<PaginationResponse<Statistics>> ListAsync(DateTime? from, DateTime? to, params Func<StatisticsApi.ListQueryParams, StatisticsApi.ListQueryParams>[] queryParams)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.DateTime> | from | Start date, format: yyyy-MM-dd (required) |
System.Nullable<System.DateTime> | to | End date, format: yyyy-MM-dd (required) |
System.Func<StatisticsApi.ListQueryParams, StatisticsApi.ListQueryParams>[] | queryParams | The query parameters for sorting, filtering and paging options (optional) |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<PaginationResponse<Statistics>> |