Create page
This notebook shows how to use Naas Notion driver to create a page inside a database
Tags: #notion #productivity #naas_drivers
Author: Maxime Jublou

Input

Import libraries

1
from naas_drivers import notion
Copied!

Input variables

1
# Enter Token API
2
token = "*****"
3
4
# Enter Database URL
5
database_id = "https://www.notion.so/naas-official/fafef5183c42474987e002d30ba55d18?v=814c0ec7f34a4395aba47c4eeced603f"
Copied!

Model

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

Output

1
page
Copied!
Copy link
Edit on GitHub