- Follow the
Google Drive API and Service Accounts
instructions here - Create a new Google Sheet with the name
Prefiled Bills
- Share the sheet with the email address in the
client_email
field of the JSON from step 1, making sure to give it edit access - Click the
Deploy to Heroku
button above to deploy this app - Put the contents of the JSON from step 1 into the
CLIENT_SECRET
field on the Heroku app creation screen
- Go to the Heroku Dashboard and find your app
- Choose
Run console
from theMore
menu - Enter
python app.py
in the input field, and clickRun
- Check your
Prefiled Bills
spreadsheet to see if it was populated
- Go to the Heroku Dashboard and find your app
- Click the
Heroku Scheduler
link from theOverview
tab - Click
Create Job
- Choose an interval (every hour or every day)
- Enter
python app.py
in the$
input field - Click
Save Job