Thanks to visit codestin.com
Credit goes to github.com

Skip to content

svecs132/pco-api

Repository files navigation

pco-api

a TypeScript library for the planning center API

JSR Publish to JSR

Warning

this library is a work in progress and is not yet ready for production use

usage

# if using bun
bunx jsr add @svecs132/pco-api

# if using npm
npx jsr add @svecs132/pco-api

# if using yarn
yarn add jsr:@svecs132/pco-api
import ServicesClient from "@svecs132/pco-api/services";

const client = new ServicesClient({
  appId: "APP ID HERE",
  secret: "SECRET HERE",
});

client.getPeople().then((people) => {
  console.log(people.join("\n"));
});

features

Note

so far only focusing on the Services API but will expand to other parts in the future

wanted features:

  • browse folders and service types
  • get items of a plan
  • get each item's
    • planned length
    • recorded length
    • recorded start time
  • get the current timer if you want
    • full item length
    • to end item on time
  • live control
    • take/release control
    • restart / jump to end of plan
    • next/previous item
    • jump to item by id

About

a TypeScript library for the planning center API

Topics

Resources

License

Stars

Watchers

Forks