Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gaito-20/tug2notion
Import uni courses from the uni online system to Notion using Selenium and the Notion API.
https://github.com/gaito-20/tug2notion
notion organization selenium
Last synced: 27 days ago
JSON representation
Import uni courses from the uni online system to Notion using Selenium and the Notion API.
- Host: GitHub
- URL: https://github.com/gaito-20/tug2notion
- Owner: gaito-20
- Created: 2024-09-24T10:51:23.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-27T09:33:36.000Z (3 months ago)
- Last Synced: 2024-12-01T09:39:52.951Z (28 days ago)
- Topics: notion, organization, selenium
- Language: Python
- Homepage:
- Size: 2.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tug2notion
Import uni courses from the uni online system to Notion using Selenium and the Notion API.
## Requirements
- [Poetry](https://python-poetry.org/docs/#installing-with-pipx) - for package management
- The public URL of the curriculum within the online system
- Active [Notion Integration](https://www.notion.so/profile/integrations) and access to the target page
- Required environment variables:
```
CURRICULUM_URL=
NOTION_SECRET=
EXCLUDES='[]'
```## Run
Install dependencies
```shell
poetry install
```Run
```
poetry run python src/main.py
```## Goal
This tool was originally developed to import a single study plan within a Notion page. Therefore it is targeted for the online course management system of the TU Graz (and especially the ICE Masters program).
Online systems from other university are not tested but could work if they have the same structure (e.g. KF Graz courses seem to be working, but there could be new problems if the structure of the curricula differs too much)
![From TUG Online to Notion](doc/tug2notion.png)