Skip to content

twcrews/planningcenter-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

286 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET Planning Center API Library

Build Coverage

A strongly-typed .NET client library for the Planning Center API, featuring a fluent syntax and comprehensive authentication support.

Installation

dotnet add package Crews.PlanningCenter.Api

Quick Start

PlanningCenterPersonalAccessToken token = new()
{
    AppId = "your-app-id",
    Secret = "your-secret"
};

var httpClient = new HttpClient
{
    BaseAddress = new Uri(PlanningCenterAuthenticationDefaults.BaseUrl)
};
httpClient.DefaultRequestHeaders.Authorization = token;

var client = new PeopleClient(httpClient).Latest;

var response = await client
    .People
    .WithId("123")
    .GetAsync();

Console.WriteLine($"Person: {response.Data?.Attributes.Name}");

Documentation

Full documentation — including authentication, usage examples, and API reference — is available at pcapi.crews.dev.


S.D.G.

About

Contains foundational modules for interacting with Planning Center APIs.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages