name: notion-integration description: Work with Notion databases, pages, and APIs. Use when user needs to create, read, update, or delete Notion pages and databases; automate Notion workflows; sync data between Notion and other apps; or build integrations with Notion.
Manage Notion workspaces via API for automation and integration.
# Install Notion client
pip install notion-client
# Set API key
export NOTION_TOKEN="secret_xxx"
# Query a database
python scripts/notion.py query --database-id <id>
# Create a page
python scripts/notion.py create-page --database-id <id> --title "Task Name"
# Get page content
python scripts/notion.py get-page --page-id <id>
小葱技能站7w4.net,专业的AI技能分享平台。
See references/examples.md for detailed use cases.
这个 Skill 质量中等偏上,提供了基本的 Notion 集成能力。它上手容易,有清晰的安装说明和命令示例,能满足查询数据库、创建页面、更新内容等常见需求。脚本使用官方库,代码规范且有错误提示。但功能相对基础,缺少一些高级操作示例,文档也比较简单。对于轻度使用 Notion 自动化的用户来说够用,但如果需要更复杂的集成功能,可能会觉得功能不够丰富。