An app that scans your Google Classroom assignments and puts them into a Notion Calendar.
Create a Google Cloud account with these two links:
- https://developers.google.com/workspace/guides/create-project
- https://developers.google.com/workspace/guides/create-credentials Then, create a Notion integration here:
- https://www.notion.so/my-integrations Make sure the integration has access to your database by inviting it with the share button in Notion
credentials.json
{
"installed": {
"client_id": "",
"project_id": "",
"auth_uri": "",
"token_uri": "",
"auth_provider_x509_cert_url": "",
"client_secret": "",
"redirect_uris": ["http://localhost"]
}
}
keys.json
{
"type": "",
"project_id": "",
"private_key_id": "",
"private_key": "",
"client_email": "",
"client_id": "",
"auth_uri": "",
"token_uri": "",
"auth_provider_x509_cert_url": "",
"client_x509_cert_url": "",
"notion": "notion integration secret",
"database": "database id",
}
Ensure that your Notion database has the following properties
- Date (Date)
- Progress (Single Select with options Completed, In Progress, and Unstarted)
- Subject (Text)
- id (Text)
Run the scholar.py
file to get started :)