Simple, automated, CCLI Usage Reporting using puppeteer.
I hate repetitive tasks, and CCLI doesn't have a batch reporting method. (Which is really stupid.) My solution? Automate it!
const { Client, Config } = require('ccli-bulk-reporter');
const config = require('./config.json');
const songs = require('./songs.json');
const myConfig = new Config(config);
const myClient = new Client(myConfig);
myClient.report(songs);
{
"ccliEmail": "",
"ccliPassword": "",
"headless": false
}
Where ccliEmail
is your CCLI Email and ccliPassword
is your CCLI Password.
[
{
"id": 0,
"print": 0,
"digital": 0,
"recording": 0,
"translation": 0
},
{
"id": 0,
"print": 0,
"digital": 0,
"recording": 0,
"translation": 0
}
]
Where id
is the CCLI# of each song and print
, digital
, recording
, and translation
are the respective counts for each of use types.
Because I hate repetitive tasks, I simply took the CCLI report from Planning Center, copied it into Excel, saved it as a csv, then converted the csv to json.