Table of Contents

Class FeedClient

Namespace
Crews.PlanningCenter.Api.Calendar.V2020_04_08
Assembly
Crews.PlanningCenter.Api.dll

Client for interacting with the Feed resource.

public class FeedClient : SingletonResourceClient<Feed, FeedResource, FeedResponse>
Inheritance
FeedClient
Inherited Members

Constructors

FeedClient(HttpClient, Uri)

Client for interacting with the Feed resource.

public FeedClient(HttpClient httpClient, Uri uri)

Parameters

httpClient HttpClient
uri Uri

Methods

GetAsync(CancellationToken)

Fetches the Feed resource asynchronously.

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

Parameters

cancellationToken CancellationToken

A token to monitor for cancellation requests.

Returns

Task<FeedResponse>

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

Exceptions

JsonApiException

Thrown when the HTTP response indicates a failure status code.