Using notion-sdk-py with notion.com

Python integration

Install
pip install notion-sdk-py
Quick start
import notion-sdk-py

client = notion_sdk_py.Client("YOUR_API_KEY")
Retrieve comments
curl \
  https://api.notion.com/v1/comments
Retrieve a Page
curl \
  https://api.notion.com/v1/pages/{id}
Retrieve a user
curl \
  https://api.notion.com/v1/users/{id}
SDK on GitHub 📄 API Docs
SDK
notion-sdk-py
Python
API
notion.com
notion.com
At a glance
Language Python
Endpoints13
Base URLhttps://api.notion.com