https://github.com/carlossanabriam/notion-quiz-from-md-to-table
Script that transforms a quiz in Notion Markdown format to a Notion database, to be able to export it as CSV and import it in Quizzizz.
https://github.com/carlossanabriam/notion-quiz-from-md-to-table
markdown notion notion-api quiz table
Last synced: 2 months ago
JSON representation
Script that transforms a quiz in Notion Markdown format to a Notion database, to be able to export it as CSV and import it in Quizzizz.
- Host: GitHub
- URL: https://github.com/carlossanabriam/notion-quiz-from-md-to-table
- Owner: CarlosSanabriaM
- License: mit
- Created: 2023-03-27T15:03:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-26T16:27:10.000Z (4 months ago)
- Last Synced: 2025-01-26T17:28:26.162Z (4 months ago)
- Topics: markdown, notion, notion-api, quiz, table
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quiz from Notion Markdown to Notion table
This script transforms a quiz in Notion Markdown format to a Notion database,
to be able to export it as CSV and import it in [Quizzizz](https://quizizz.com/).## Running locally
### 1. Setup your local project
```sh
# Switch into this project
cd notion-quiz-from-md-to-table/# Install the dependencies
npm install
```### 2. Set your environment variables in a `.env` file
```ini
NOTION_KEY=
NOTION_SOURCE_PAGE_ID=
NOTION_DEST_DATABASE_ID=
PAGE_SIZE=50
IMAGE_LINK_MESSAGE=Esta pregunta tiene una imagen. Pendiente de añadir el link correspondiente de Google Drive.
TIME_IN_SECONDS=60
```You can create your Notion API key [here](https://www.notion.com/my-integrations).
### 3. Run code
```sh
node index.js
```## References
* https://github.com/makenotion/notion-sdk-js/tree/main/examples/database-email-update
* https://developers.notion.com/docs/create-a-notion-integration