- A set of methods for interacting with Notion's API
- get databases, pages, and blocks
- create new pages in a database
- append blocks to pages
- update the properties on a page
- A main function that when run:
- Creates a new journal entry in my Journal Database
- ensures the correct template is used
- only 1 page is created per day
- calendar events from all my Google Calendars are automatically added
- Pulls data from Goodreads and compares with my Notion Reading List
- Updates existing entires with dates and ratings
- Adds nonexistant books to the database
- Creates a new journal entry in my Journal Database
- A set of functions for interacting with Google Firestore
- Github Actions configuration file to run this automation on a cron schedule, including webdriver and Google Auth tasks
- This code requires some configuration files and variables to work:
- a
.env
file containing:- a Notion Integration
secret_key
in the form:NOTION_TOKEN = 'secret_key'
- a Notion Integration
- a
- Github Secret
TIMEZONE
key with your local timezone string of the formAmerica/New_York
- a
gcal_client_secret.json
file that contains the Google Auth 2.0 Client ID and Client secret forInstalledAppFlow.from_client_secrets_file
, downloaded directly fromconsole.cloud.google.com/apis/credentials
- These files should be stored at
project_dir/credentials/
or stored in Github secret
- Add calendar integration for events
- Add proper tags based on template
- Goodreads web scraper integration for my reading list
- Add testing suite
- Host online to run automatically on schedule
- Integrate Cloud Firestore as storage for user_data and logs
- Create daily-automations Firebase account
- Add write and read scripts for ease of use
- Integrate into existing scripts