better-notion
bởi tyler6204
Notes & PKMTóm tắt
Full CRUD for Notion pages, databases.
Mô tả
Kỹ năng này làm gì
Full CRUD for Notion pages, databases, and blocks via the Notion REST API. Supports create, read, update, delete, search, and filtered database queries. API key is stored locally and passed as a bearer token on each request.
Enables scripted or automated Notion changes without opening the app, making bulk updates and pipeline integrations practical.
Khi nào nên dùng
- Add a new task entry to a Notion project database
- Query all records in a database filtered by status or property
- Append text blocks to an existing Notion page
- Search across all Notion content by keyword
- Update a page property like status, date, or checkbox
Quy trình ví dụ
User asks: Create a new task called 'Review PR #42' with status Active in my Tasks database
- 1
Search Notion for the Tasks database to retrieve its data_source_id
- 2
Construct a create-page request with the title and Status select property set to Active
- 3
POST to /v1/pages with the database parent and properties payload
- 4
Return the new page ID and URL from the API response
New Notion page 'Review PR #42' created in the Tasks database with Status set to Active
Yêu cầu
- Notion API key generated from the Notion integrations settings page
- Notion integration connected and shared with the target pages or databases in the Notion UI
Cài đặt
clawhub install tyler6204/better-notionChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.