choirgenius

1.1.0 • Public • Published

ChoirGenius API

"Api" access to ChoirGenius.

⚠️ This library pretends to be a browser rather than using an api as real apis don't exist.

Usage

Run the updating script.

const ChoirGenius = require('choirgenius');
 
// Instantiate a new choir genius instance with the url of your site
const choirGenius = new ChoirGenius('https://hcamusic.org');
 
const username = process.env.CHOIR_GENIUS_USERNAME;
const password = process.env.CHOIR_GENIUS_PASSWORD;
 
// Log into choir genius, this must be called once before the other
// functions will work
await choirGenius.login(username, password);
 
// Fetch all your users and their data
const members = await choirGenius.getMembers();

/choirgenius/

    Package Sidebar

    Install

    npm i choirgenius

    Weekly Downloads

    2

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    3.78 kB

    Total Files

    5

    Last publish

    Collaborators

    • barlock