Table of Contents

Class EpisodeStatisticsClient

Namespace
Crews.PlanningCenter.Api.Publishing.V2024_03_25
Assembly
Crews.PlanningCenter.Api.dll

Client for interacting with the EpisodeStatistics resource.

public class EpisodeStatisticsClient : SingletonResourceClient<EpisodeStatistics, EpisodeStatisticsResource, EpisodeStatisticsResponse>
Inheritance
EpisodeStatisticsClient
Inherited Members

Constructors

EpisodeStatisticsClient(HttpClient, Uri)

Client for interacting with the EpisodeStatistics resource.

public EpisodeStatisticsClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches the EpisodeStatistics resource asynchronously.

public Task<EpisodeStatisticsResponse> GetAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<EpisodeStatisticsResponse>

A task representing the asynchronous operation, containing the EpisodeStatistics resource.

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.