Links

Create page

Tags: #notion #productivity #naas_drivers #operations #snippet
Author: Maxime Jublou
Description: Notion is a powerful tool for creating and organizing digital pages to help you stay organized and productive.

Input

Import libraries

from naas_drivers import notion

Input variables

# Enter Token API
token = "*****"
# Enter Database URL
database_id = "https://www.notion.so/naas-official/fafef5183c42474987e002d30ba55d18?v=814c0ec7f34a4395aba47c4eeced603f"

Model

page = notion.connect(token).page.create(database_id=database_id, title="My new page")

Output

page