mirror of
https://github.com/svecs132/pco-api.git
synced 2026-07-08 02:22:03 +00:00
main
pco-api
a TypeScript library for the planning center API
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 typesget 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
Languages
TypeScript
100%