A simple CLI utility written in Ruby that queries the next Planning Center Online Service you're assigned to, then exports and emails the setlist to your email. The setlist is also provided in a format that can be imported into Tempo.
- Make a copy of
secrets.example.rb
, and rename it tosecrets.rb
. - In
secrets.rb
set youruserid
to your Planning Center Online user ID. To get this view your profile. In the url of this page it is the number prefaced with "AC". Do not include the "AC". - Create a Planning Center Online personal user token. In
secrets.rb
set thetoken
andsecret
to your generated personal user token's Application ID and secret. - In
secrets.rb
set theemail
andpassword
to your email and email password. If you're using Gmail, you should use an app-specific password (you'll need to generate this).
> ruby ./fetch.rb